pub struct ActivatePersonalAccessTokenResponse {
pub access_token: Option<String>,
pub date_created: String,
pub cred_id: String,
pub is_active: bool,
pub kind: String,
pub linked_user_id: String,
pub linked_app_id: String,
pub name: String,
pub org_id: String,
pub permission_assignments: Vec<Value>,
pub public_key: String,
pub token_id: String,
}Expand description
Activate Personal Access Token
Fields§
§access_token: Option<String>§date_created: String§cred_id: String§is_active: bool§kind: String§linked_user_id: String§linked_app_id: String§name: String§org_id: String§permission_assignments: Vec<Value>§public_key: String§token_id: StringTrait Implementations§
Source§impl Clone for ActivatePersonalAccessTokenResponse
impl Clone for ActivatePersonalAccessTokenResponse
Source§fn clone(&self) -> ActivatePersonalAccessTokenResponse
fn clone(&self) -> ActivatePersonalAccessTokenResponse
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<'de> Deserialize<'de> for ActivatePersonalAccessTokenResponse
impl<'de> Deserialize<'de> for ActivatePersonalAccessTokenResponse
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
Auto Trait Implementations§
impl Freeze for ActivatePersonalAccessTokenResponse
impl RefUnwindSafe for ActivatePersonalAccessTokenResponse
impl Send for ActivatePersonalAccessTokenResponse
impl Sync for ActivatePersonalAccessTokenResponse
impl Unpin for ActivatePersonalAccessTokenResponse
impl UnsafeUnpin for ActivatePersonalAccessTokenResponse
impl UnwindSafe for ActivatePersonalAccessTokenResponse
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