Struct avm_interface::ParticleParameters 
source · pub struct ParticleParameters<'ctx> {
    pub init_peer_id: Cow<'ctx, str>,
    pub particle_id: Cow<'ctx, str>,
    pub timestamp: u64,
    pub ttl: u32,
    pub current_peer_id: Cow<'ctx, str>,
}Expand description
Represents parameters obtained from a particle.
Fields§
§init_peer_id: Cow<'ctx, str>§particle_id: Cow<'ctx, str>§timestamp: u64§ttl: u32§current_peer_id: Cow<'ctx, str>Implementations§
Trait Implementations§
source§impl<'ctx> Clone for ParticleParameters<'ctx>
 
impl<'ctx> Clone for ParticleParameters<'ctx>
source§fn clone(&self) -> ParticleParameters<'ctx>
 
fn clone(&self) -> ParticleParameters<'ctx>
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<'ctx> Debug for ParticleParameters<'ctx>
 
impl<'ctx> Debug for ParticleParameters<'ctx>
source§impl<'de, 'ctx> Deserialize<'de> for ParticleParameters<'ctx>
 
impl<'de, 'ctx> Deserialize<'de> for ParticleParameters<'ctx>
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<'ctx> RefUnwindSafe for ParticleParameters<'ctx>
impl<'ctx> Send for ParticleParameters<'ctx>
impl<'ctx> Sync for ParticleParameters<'ctx>
impl<'ctx> Unpin for ParticleParameters<'ctx>
impl<'ctx> UnwindSafe for ParticleParameters<'ctx>
Blanket Implementations§
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