pub struct ActiveSessionMetadata { /* private fields */ }Implementations§
Source§impl ActiveSessionMetadata
impl ActiveSessionMetadata
pub fn budget_limit<T>(self, value: T) -> Self
pub fn budget_locked<T>(self, value: T) -> Self
pub fn budget_remaining<T>(self, value: T) -> Self
pub fn budget_used<T>(self, value: T) -> Self
pub fn chain_id<T>(self, value: T) -> Self
pub fn expires_at<T>(self, value: T) -> Self
pub fn has_session<T>(self, value: T) -> Self
pub fn key_id<T>(self, value: T) -> Self
pub fn name<T>(self, value: T) -> Self
pub fn reason<T>(self, value: T) -> Self
pub fn status<T>(self, value: T) -> Self
pub fn token<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ActiveSessionMetadata
impl Clone for ActiveSessionMetadata
Source§fn clone(&self) -> ActiveSessionMetadata
fn clone(&self) -> ActiveSessionMetadata
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 ActiveSessionMetadata
impl Debug for ActiveSessionMetadata
Source§impl Default for ActiveSessionMetadata
impl Default for ActiveSessionMetadata
Source§impl From<ActiveSessionMetadata> for ActiveSessionMetadata
impl From<ActiveSessionMetadata> for ActiveSessionMetadata
Source§fn from(value: ActiveSessionMetadata) -> Self
fn from(value: ActiveSessionMetadata) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ActiveSessionMetadata> for ActiveSessionMetadata
impl TryFrom<ActiveSessionMetadata> for ActiveSessionMetadata
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ActiveSessionMetadata) -> Result<Self, ConversionError>
fn try_from(value: ActiveSessionMetadata) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ActiveSessionMetadata
impl RefUnwindSafe for ActiveSessionMetadata
impl Send for ActiveSessionMetadata
impl Sync for ActiveSessionMetadata
impl Unpin for ActiveSessionMetadata
impl UnsafeUnpin for ActiveSessionMetadata
impl UnwindSafe for ActiveSessionMetadata
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