pub enum SessionStartPoint {
Empty,
CurrentSession,
ExistingSession {
session_id: String,
},
Snapshot {
snapshot: Box<SessionSnapshot>,
},
}Variants§
Trait Implementations§
Source§impl Clone for SessionStartPoint
impl Clone for SessionStartPoint
Source§fn clone(&self) -> SessionStartPoint
fn clone(&self) -> SessionStartPoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionStartPoint
impl Debug for SessionStartPoint
Source§impl<'de> Deserialize<'de> for SessionStartPoint
impl<'de> Deserialize<'de> for SessionStartPoint
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionStartPoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SessionStartPoint, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for SessionStartPoint
impl Serialize for SessionStartPoint
Source§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
Auto Trait Implementations§
impl Freeze for SessionStartPoint
impl RefUnwindSafe for SessionStartPoint
impl Send for SessionStartPoint
impl Sync for SessionStartPoint
impl Unpin for SessionStartPoint
impl UnsafeUnpin for SessionStartPoint
impl UnwindSafe for SessionStartPoint
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