pub struct ActiveProjectToken {
pub active: bool,
pub project_id: String,
pub application_id: String,
pub user_id: String,
pub session_id: String,
pub token_type: String,
pub issued_at: String,
pub expires_at: String,
pub user_revision: i64,
pub session_revision: i64,
pub application_revision: i64,
pub projection: ServerApplicationUserProjection,
}Expand description
Current online authority for one active Project access token.
Fields§
§active: bool§project_id: String§application_id: String§user_id: String§session_id: String§token_type: String§issued_at: String§expires_at: String§user_revision: i64§session_revision: i64§application_revision: i64§projection: ServerApplicationUserProjectionTrait Implementations§
Source§impl Clone for ActiveProjectToken
impl Clone for ActiveProjectToken
Source§fn clone(&self) -> ActiveProjectToken
fn clone(&self) -> ActiveProjectToken
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 ComposeSchema for ActiveProjectToken
impl ComposeSchema for ActiveProjectToken
Source§impl Debug for ActiveProjectToken
impl Debug for ActiveProjectToken
Source§impl<'de> Deserialize<'de> for ActiveProjectToken
impl<'de> Deserialize<'de> for ActiveProjectToken
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 ActiveProjectToken
impl PartialEq for ActiveProjectToken
Source§impl Serialize for ActiveProjectToken
impl Serialize for ActiveProjectToken
impl StructuralPartialEq for ActiveProjectToken
Auto Trait Implementations§
impl Freeze for ActiveProjectToken
impl RefUnwindSafe for ActiveProjectToken
impl Send for ActiveProjectToken
impl Sync for ActiveProjectToken
impl Unpin for ActiveProjectToken
impl UnsafeUnpin for ActiveProjectToken
impl UnwindSafe for ActiveProjectToken
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