pub struct SessionRuntimeActivation {
pub version: u8,
pub activation_id: String,
pub generation: u64,
pub previous: SessionRuntimeIdentity,
pub target: SessionRuntimeIdentity,
}Expand description
Immutable logical activation identity.
Fields§
§version: u8§activation_id: String§generation: u64§previous: SessionRuntimeIdentity§target: SessionRuntimeIdentityImplementations§
Source§impl SessionRuntimeActivation
impl SessionRuntimeActivation
pub fn new( generation: u64, previous: SessionRuntimeIdentity, target: SessionRuntimeIdentity, ) -> Self
pub fn is_valid(&self) -> bool
Trait Implementations§
Source§impl Clone for SessionRuntimeActivation
impl Clone for SessionRuntimeActivation
Source§fn clone(&self) -> SessionRuntimeActivation
fn clone(&self) -> SessionRuntimeActivation
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 SessionRuntimeActivation
impl Debug for SessionRuntimeActivation
Source§impl<'de> Deserialize<'de> for SessionRuntimeActivation
impl<'de> Deserialize<'de> for SessionRuntimeActivation
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
impl Eq for SessionRuntimeActivation
Source§impl PartialEq for SessionRuntimeActivation
impl PartialEq for SessionRuntimeActivation
Source§impl Serialize for SessionRuntimeActivation
impl Serialize for SessionRuntimeActivation
impl StructuralPartialEq for SessionRuntimeActivation
Auto Trait Implementations§
impl Freeze for SessionRuntimeActivation
impl RefUnwindSafe for SessionRuntimeActivation
impl Send for SessionRuntimeActivation
impl Sync for SessionRuntimeActivation
impl Unpin for SessionRuntimeActivation
impl UnsafeUnpin for SessionRuntimeActivation
impl UnwindSafe for SessionRuntimeActivation
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