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§
Source§impl Clone for ParticleParameters
impl Clone for ParticleParameters
Source§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 moreSource§impl Debug for ParticleParameters
impl Debug for ParticleParameters
Source§impl Default for ParticleParameters
impl Default for ParticleParameters
Source§fn default() -> ParticleParameters
fn default() -> ParticleParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParticleParameters
impl<'de> Deserialize<'de> for ParticleParameters
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 for ParticleParameters
impl PartialEq for ParticleParameters
Source§impl Serialize for ParticleParameters
impl Serialize for ParticleParameters
impl Eq for ParticleParameters
impl StructuralPartialEq for ParticleParameters
Auto Trait Implementations§
impl Freeze for ParticleParameters
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