pub struct SessionCreateResponse {
pub space_id: WireUuid,
pub session_id: WireSessionId,
pub created: bool,
pub created_at_unix_nanos: u64,
pub last_active_unix_nanos: u64,
pub memory_count: u32,
}Expand description
SESSION_CREATE_RESP (0x00F3). space_id is the derived 16-byte storage
id (a CBOR byte string).
Fields§
§space_id: WireUuid§session_id: WireSessionId§created: boolfalse on an idempotent replay of an existing session.
created_at_unix_nanos: u64§last_active_unix_nanos: u64§memory_count: u32Trait Implementations§
Source§impl Clone for SessionCreateResponse
impl Clone for SessionCreateResponse
Source§impl Debug for SessionCreateResponse
impl Debug for SessionCreateResponse
Source§impl<'de> Deserialize<'de> for SessionCreateResponse
impl<'de> Deserialize<'de> for SessionCreateResponse
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 SessionCreateResponse
Source§impl PartialEq for SessionCreateResponse
impl PartialEq for SessionCreateResponse
Source§impl Serialize for SessionCreateResponse
impl Serialize for SessionCreateResponse
impl StructuralPartialEq for SessionCreateResponse
Auto Trait Implementations§
impl Freeze for SessionCreateResponse
impl RefUnwindSafe for SessionCreateResponse
impl Send for SessionCreateResponse
impl Sync for SessionCreateResponse
impl Unpin for SessionCreateResponse
impl UnsafeUnpin for SessionCreateResponse
impl UnwindSafe for SessionCreateResponse
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