pub struct OpenOk {
pub mode: OpenMode,
pub device_id: String,
pub device_did: String,
pub scopes: Vec<String>,
pub expires_at: String,
}Expand description
Proven session identity after a successful session.open/1.
Fields§
§mode: OpenModeFull or renewal.
device_id: StringStable device id.
device_did: StringDevice DID.
scopes: Vec<String>Granted scopes (empty in renewal mode).
expires_at: StringExpiry (RFC3339 or epoch seconds for renewal).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenOk
impl<'de> Deserialize<'de> for OpenOk
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 StructuralPartialEq for OpenOk
Auto Trait Implementations§
impl Forget for OpenOk
impl Freeze for OpenOk
impl Move for OpenOk
impl RefUnwindSafe for OpenOk
impl Send for OpenOk
impl Sync for OpenOk
impl Unpin for OpenOk
impl UnsafeUnpin for OpenOk
impl UnwindSafe for OpenOk
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