Struct avm_server::ParticleParameters
source · [−]pub struct ParticleParameters<'init_peer_id, 'particle_id> {
pub init_peer_id: Cow<'init_peer_id, str>,
pub particle_id: Cow<'particle_id, str>,
pub timestamp: u64,
pub ttl: u32,
}Expand description
Represents parameters obtained from a particle.
Fields
init_peer_id: Cow<'init_peer_id, str>particle_id: Cow<'particle_id, str>timestamp: u64ttl: u32Implementations
Trait Implementations
sourceimpl<'init_peer_id, 'particle_id> Clone for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> Clone for ParticleParameters<'init_peer_id, 'particle_id>
sourcefn clone(&self) -> ParticleParameters<'init_peer_id, 'particle_id>
fn clone(&self) -> ParticleParameters<'init_peer_id, 'particle_id>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<'init_peer_id, 'particle_id> Debug for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> Debug for ParticleParameters<'init_peer_id, 'particle_id>
sourceimpl<'de, 'init_peer_id, 'particle_id> Deserialize<'de> for ParticleParameters<'init_peer_id, 'particle_id>
impl<'de, 'init_peer_id, 'particle_id> Deserialize<'de> for ParticleParameters<'init_peer_id, 'particle_id>
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<ParticleParameters<'init_peer_id, 'particle_id>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ParticleParameters<'init_peer_id, 'particle_id>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<'init_peer_id, 'particle_id> Serialize for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> Serialize for ParticleParameters<'init_peer_id, 'particle_id>
sourcefn 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
Auto Trait Implementations
impl<'init_peer_id, 'particle_id> RefUnwindSafe for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> Send for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> Sync for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> Unpin for ParticleParameters<'init_peer_id, 'particle_id>
impl<'init_peer_id, 'particle_id> UnwindSafe for ParticleParameters<'init_peer_id, 'particle_id>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> Serialize for Twhere
T: Serialize + ?Sized,
impl<T> Serialize for Twhere
T: Serialize + ?Sized,
fn erased_serialize(&self, serializer: &mut dyn Serializer) -> Result<Ok, Error>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more