Struct rust_ipfs::p2p::IdentifyConfiguration  
source · pub struct IdentifyConfiguration {
    pub protocol_version: String,
    pub agent_version: String,
    pub interval: Duration,
    pub push_update: bool,
    pub cache: usize,
}Fields§
§protocol_version: String§agent_version: String§interval: Duration§push_update: bool§cache: usizeImplementations§
Trait Implementations§
source§impl Clone for IdentifyConfiguration
 
impl Clone for IdentifyConfiguration
source§fn clone(&self) -> IdentifyConfiguration
 
fn clone(&self) -> IdentifyConfiguration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for IdentifyConfiguration
 
impl Debug for IdentifyConfiguration
source§impl Default for IdentifyConfiguration
 
impl Default for IdentifyConfiguration
source§impl<'de> Deserialize<'de> for IdentifyConfiguration
 
impl<'de> Deserialize<'de> for IdentifyConfiguration
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for IdentifyConfiguration
impl Send for IdentifyConfiguration
impl Sync for IdentifyConfiguration
impl Unpin for IdentifyConfiguration
impl UnwindSafe for IdentifyConfiguration
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
    T: 'a,
 
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more