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<'__wire_read> Evolving<'__wire_read> for SessionInputwhere
PortableCredential: Inline<'__wire_read>,
List<Text<64>, 16>: Inline<'__wire_read>,
Option<u64>: Inline<'__wire_read>,
impl<'__wire_read> Evolving<'__wire_read> for SessionInputwhere
PortableCredential: Inline<'__wire_read>,
List<Text<64>, 16>: Inline<'__wire_read>,
Option<u64>: Inline<'__wire_read>,
Source§impl EvolvingSchema for SessionInput
impl EvolvingSchema for SessionInput
fn describe( __wire_context: &mut SchemaContext, ) -> Result<Value, GenerationError>
Source§impl<'__wire_read> Inline<'__wire_read> for SessionInputwhere
PortableCredential: Inline<'__wire_read>,
List<Text<64>, 16>: Inline<'__wire_read>,
Option<u64>: Inline<'__wire_read>,
impl<'__wire_read> Inline<'__wire_read> for SessionInputwhere
PortableCredential: Inline<'__wire_read>,
List<Text<64>, 16>: Inline<'__wire_read>,
Option<u64>: Inline<'__wire_read>,
Source§type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
type Encoded<'__wire_stage> = __WireEncodedView<'__wire_stage, '__wire_read>where
Self: '__wire_stage,
The staged Serde value and its borrowed application data or scratch.
Source§type Decoded = __WireDecodedView<'__wire_read>
type Decoded = __WireDecodedView<'__wire_read>
The raw Serde value to project with the enclosing read context.
impl<'__wire_read> InlineMessage<'__wire_read> for SessionInputwhere
PortableCredential: Inline<'__wire_read>,
List<Text<64>, 16>: Inline<'__wire_read>,
Option<u64>: Inline<'__wire_read>,
Source§impl PartialEq for SessionInput
impl PartialEq for SessionInput
Source§impl Serialize for SessionInput
impl Serialize for SessionInput
impl StructuralPartialEq for SessionInput
Source§impl Wire for SessionInput
impl Wire for SessionInput
Source§fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
fn schema(__wire_context: &mut SchemaContext) -> Result<Value, GenerationError>
Produce metadata using
context.describe for every nested Rust type. Read moreAuto Trait Implementations§
impl Forget for SessionInput
impl Freeze for SessionInputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<DelegatedRoleGrant>: Freeze,
PhantomData<ChainKeyBatchWitnessStepV1>: Freeze,
PhantomData<Bytes<256>>: Freeze,
PhantomData<Text<64>>: Freeze,
impl Move for SessionInput
impl RefUnwindSafe for SessionInput
impl Send for SessionInputwhere
RawVecInner: Send,
impl Sync for SessionInputwhere
RawVecInner: Sync,
impl Unpin for SessionInput
impl UnsafeUnpin for SessionInputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DelegatedRoleGrant>: UnsafeUnpin,
PhantomData<ChainKeyBatchWitnessStepV1>: UnsafeUnpin,
PhantomData<Bytes<256>>: UnsafeUnpin,
PhantomData<Text<64>>: UnsafeUnpin,
impl UnwindSafe for SessionInputwhere
RawVecInner: UnwindSafe,
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