Struct octorust::types::AuthenticationToken [−][src]
pub struct AuthenticationToken { pub expires_at: DateTime<Utc>, pub permissions: Option<Data>, pub repositories: Vec<Repository>, pub repository_selection: Option<RepositorySelection>, pub single_file: String, pub token: String, }
Expand description
Authentication Token
Fields
expires_at: DateTime<Utc>
The time this token expires
permissions: Option<Data>
Authentication Token
repositories: Vec<Repository>
Authentication Token
repository_selection: Option<RepositorySelection>
Authentication Token
single_file: String
token: String
The token used for authentication
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for AuthenticationToken
impl Send for AuthenticationToken
impl Sync for AuthenticationToken
impl Unpin for AuthenticationToken
impl UnwindSafe for AuthenticationToken
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more