/// Creates new API components for the given (public/private) path and method.
Creates new API components for the given (public/private) path and method.
Creates new API components for the given ( public / private ) path and method .
fn with_method(kind: ApiKind, method: impl fmt::Display) -> Self {
        Self {
            kind,
            domain: KRAKEN_DOMAIN.into(),
            version: "0".into(),
            path: kind.to_string(),
            method: method.to_string(),
            params: HashMap::default(),
            headers: HeaderMap::default(),
        }
    }
fn with_method ( kind : ApiKind , method : impl fmt :: Display ) -> Self { Self { kind , domain : KRAKEN_DOMAIN . into ( ) , version : " " . into ( ) , path : kind . to_string ( ) , method : method . to_string ( ) , params : HashMap :: default ( ) , headers : HeaderMap :: default ( ) , } }
Creates new API components for the given (public/private) path and method.
Creates new API components for the given ( public / private ) path and method .
kind
ApiKind
method
impl fmt::Display