pub struct SessionInput {
pub credential: PortableCredential,
pub scopes: List<Text<64>, 16>,
pub ttl_secs: Option<u64>,
}Expand description
SessionInput
Unsigned session narrowing accompanying an opaque signed credential.
Fields§
§credential: PortableCredentialClaims and proof requiring complete verification against host authority.
scopes: List<Text<64>, 16>Unnormalized scope text; semantic validation belongs to request admission.
ttl_secs: Option<u64>Requested seconds; absence selects the protected host default.
Trait Implementations§
Source§impl Clone for SessionInput
impl Clone for SessionInput
Source§impl Debug for SessionInput
impl Debug for SessionInput
Source§impl<'de> Deserialize<'de> for SessionInput
impl<'de> Deserialize<'de> for SessionInput
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 SessionInput
Source§impl PartialEq for SessionInput
impl PartialEq for SessionInput
Source§impl Serialize for SessionInput
impl Serialize for SessionInput
impl StructuralPartialEq for SessionInput
Auto Trait Implementations§
impl Forget for SessionInput
impl Freeze for SessionInput
impl Move for SessionInput
impl RefUnwindSafe for SessionInput
impl Send for SessionInput
impl Sync for SessionInput
impl Unpin for SessionInput
impl UnsafeUnpin for SessionInput
impl UnwindSafe for SessionInput
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