Struct fiberplane_models::tokens::TokenSummary
source · #[non_exhaustive]pub struct TokenSummary {
pub id: Base64Uuid,
pub title: String,
pub created_at: Timestamp,
pub expires_at: Option<Timestamp>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Base64Uuid§title: String§created_at: Timestamp§expires_at: Option<Timestamp>Implementations§
source§impl TokenSummary
impl TokenSummary
Trait Implementations§
source§impl Clone for TokenSummary
impl Clone for TokenSummary
source§fn clone(&self) -> TokenSummary
fn clone(&self) -> TokenSummary
Returns a copy of the value. Read more
1.0.0 · 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 TokenSummary
impl Debug for TokenSummary
source§impl<'de> Deserialize<'de> for TokenSummary
impl<'de> Deserialize<'de> for TokenSummary
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
source§impl PartialEq for TokenSummary
impl PartialEq for TokenSummary
source§fn eq(&self, other: &TokenSummary) -> bool
fn eq(&self, other: &TokenSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for TokenSummary
impl Serialize for TokenSummary
impl Eq for TokenSummary
impl StructuralPartialEq for TokenSummary
Auto Trait Implementations§
impl Freeze for TokenSummary
impl RefUnwindSafe for TokenSummary
impl Send for TokenSummary
impl Sync for TokenSummary
impl Unpin for TokenSummary
impl UnwindSafe for TokenSummary
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