Struct air_interpreter_interface::RunParameters
source · [−]pub struct RunParameters {
pub init_peer_id: String,
pub current_peer_id: String,
pub timestamp: u64,
}
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.
Implementations
sourceimpl RunParameters
impl RunParameters
Trait Implementations
sourceimpl Clone for RunParameters
impl Clone for RunParameters
sourcefn clone(&self) -> RunParameters
fn clone(&self) -> RunParameters
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 Debug for RunParameters
impl Debug for RunParameters
sourceimpl<'de> Deserialize<'de> for RunParameters
impl<'de> Deserialize<'de> for RunParameters
sourcefn 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
sourceimpl PartialEq<RunParameters> for RunParameters
impl PartialEq<RunParameters> for RunParameters
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &RunParameters) -> bool
fn ne(&self, other: &RunParameters) -> bool
This method tests for !=
.
sourceimpl Serialize for RunParameters
impl Serialize for RunParameters
impl Eq for RunParameters
impl StructuralEq for RunParameters
impl StructuralPartialEq for RunParameters
Auto Trait Implementations
impl RefUnwindSafe for RunParameters
impl Send for RunParameters
impl Sync for RunParameters
impl Unpin for RunParameters
impl UnwindSafe for RunParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more