Struct ipfs_api::GlobalOptions [−][src]
Expand description
Options valid on any IPFS Api request
Can be set on a client using BackendWithGlobalOptions
Fields
offline: Option<bool>
timeout: Option<Duration>
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub 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
Auto Trait Implementations
impl RefUnwindSafe for GlobalOptions
impl Send for GlobalOptions
impl Sync for GlobalOptions
impl Unpin for GlobalOptions
impl UnwindSafe for GlobalOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more