Struct air_interpreter_interface::RunParameters
source · pub struct RunParameters {
pub init_peer_id: String,
pub current_peer_id: String,
pub timestamp: u64,
pub ttl: u32,
}
Expand description
Parameters that a host side should pass to an interpreter and that necessary for execution.
Fields§
§init_peer_id: String
Peer id of a peer that start this particle.
current_peer_id: String
Peer id of a current peer.
timestamp: u64
Unix timestamp from a particle in milliseconds. It represents time when this particle was sent from the init peer id.
ttl: u32
TTL set by init peer id in milliseconds.
Implementations§
Trait Implementations§
source§impl Clone for RunParameters
impl Clone for RunParameters
source§fn clone(&self) -> RunParameters
fn clone(&self) -> RunParameters
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 RunParameters
impl Debug for RunParameters
source§impl<'de> Deserialize<'de> for RunParameters
impl<'de> Deserialize<'de> for RunParameters
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
source§impl PartialEq<RunParameters> for RunParameters
impl PartialEq<RunParameters> for RunParameters
source§fn eq(&self, other: &RunParameters) -> bool
fn eq(&self, other: &RunParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.