Struct air_test_utils::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<ParticleParameters<'ctx>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ParticleParameters<'ctx>, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'ctx> Serialize for ParticleParameters<'ctx>
impl<'ctx> Serialize for ParticleParameters<'ctx>
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
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§
§impl<T> GetSetFdFlags for T
impl<T> GetSetFdFlags for T
§fn get_fd_flags(&self) -> Result<FdFlags, Error>where
T: AsFilelike,
fn get_fd_flags(&self) -> Result<FdFlags, Error>where T: AsFilelike,
Query the “status” flags for the
self
file descriptor.