Struct ipfs_api_backend_hyper::GlobalOptions
source · Expand description
Options valid on any IPFS Api request
Can be set on a client using BackendWithGlobalOptions
Fields§
§offline: Option<bool>
§timeout: Option<Duration>
Trait Implementations§
source§impl Default for GlobalOptions
impl Default for GlobalOptions
source§fn default() -> GlobalOptions
fn default() -> GlobalOptions
Returns the “default value” for a type. Read more
source§impl Serialize for GlobalOptions
impl Serialize for GlobalOptions
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more