pub struct SessionRestoreResult {
pub session_id: String,
pub message_count: usize,
pub success: bool,
pub error: Option<String>,
}Expand description
Result of session restore operation
Fields§
§session_id: String§message_count: usize§success: bool§error: Option<String>Trait Implementations§
Source§impl Clone for SessionRestoreResult
impl Clone for SessionRestoreResult
Source§fn clone(&self) -> SessionRestoreResult
fn clone(&self) -> SessionRestoreResult
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 SessionRestoreResult
impl Debug for SessionRestoreResult
Source§impl<'de> Deserialize<'de> for SessionRestoreResult
impl<'de> Deserialize<'de> for SessionRestoreResult
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 SessionRestoreResult
impl RefUnwindSafe for SessionRestoreResult
impl Send for SessionRestoreResult
impl Sync for SessionRestoreResult
impl Unpin for SessionRestoreResult
impl UnsafeUnpin for SessionRestoreResult
impl UnwindSafe for SessionRestoreResult
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