pub struct ParticleParameters {
pub id: String,
pub init_peer_id: String,
pub timestamp: u64,
pub ttl: u32,
pub script: String,
pub signature: Vec<u8>,
pub token: String,
}
Fields§
§id: String
Id of the particle which execution resulted a call this service.
init_peer_id: String
Peer id of the AIR script initiator.
timestamp: u64
Unix timestamp of the particle start time.
ttl: u32
Time to live for this particle in milliseconds.
script: String
AIR script in this particle.
signature: Vec<u8>
Signature made by particle initiator – init_peer_id.
token: String
particle.signature signed by host_id – used for FS access.
Trait Implementations§
§impl Clone for ParticleParameters
impl Clone for ParticleParameters
§fn clone(&self) -> ParticleParameters
fn clone(&self) -> ParticleParameters
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 more§impl Debug for ParticleParameters
impl Debug for ParticleParameters
§impl Default for ParticleParameters
impl Default for ParticleParameters
§fn default() -> ParticleParameters
fn default() -> ParticleParameters
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for ParticleParameters
impl<'de> Deserialize<'de> for ParticleParameters
§fn deserialize<__D>(
__deserializer: __D
) -> Result<ParticleParameters, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ParticleParameters, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for ParticleParameters
impl PartialEq for ParticleParameters
§fn eq(&self, other: &ParticleParameters) -> bool
fn eq(&self, other: &ParticleParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for ParticleParameters
impl Serialize for ParticleParameters
§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
impl Eq for ParticleParameters
impl StructuralPartialEq for ParticleParameters
Auto Trait Implementations§
impl RefUnwindSafe for ParticleParameters
impl Send for ParticleParameters
impl Sync for ParticleParameters
impl Unpin for ParticleParameters
impl UnwindSafe for ParticleParameters
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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.