pub struct PullSession {
pub id: String,
pub machine_id: String,
pub encrypted_data: String,
pub metadata: SessionMetadata,
pub updated_at: DateTime<Utc>,
}Expand description
A session returned from the cloud for pulling.
Fields§
§id: StringSession UUID.
machine_id: StringMachine UUID that created this session.
encrypted_data: StringBase64-encoded encrypted message data.
metadata: SessionMetadataUnencrypted session metadata.
updated_at: DateTime<Utc>When this session was last updated on the server.
Trait Implementations§
Source§impl Clone for PullSession
impl Clone for PullSession
Source§fn clone(&self) -> PullSession
fn clone(&self) -> PullSession
Returns a duplicate 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 PullSession
impl Debug for PullSession
Source§impl<'de> Deserialize<'de> for PullSession
impl<'de> Deserialize<'de> for PullSession
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
Auto Trait Implementations§
impl Freeze for PullSession
impl RefUnwindSafe for PullSession
impl Send for PullSession
impl Sync for PullSession
impl Unpin for PullSession
impl UnwindSafe for PullSession
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