pub struct ProjectServiceAccount {
pub object: String,
pub id: String,
pub name: String,
pub role: ProjectUserRole,
pub created_at: u32,
}
Expand description
Represents an individual service account in a project.
Fields§
§object: String
The object type, which is always organization.project.service_account
.
id: String
The identifier, which can be referenced in API endpoints.
name: String
The name of the service account.
role: ProjectUserRole
owner
or member
.
created_at: u32
The Unix timestamp (in seconds) of when the service account was created.
Trait Implementations§
Source§impl Debug for ProjectServiceAccount
impl Debug for ProjectServiceAccount
Source§impl<'de> Deserialize<'de> for ProjectServiceAccount
impl<'de> Deserialize<'de> for ProjectServiceAccount
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 ProjectServiceAccount
impl RefUnwindSafe for ProjectServiceAccount
impl Send for ProjectServiceAccount
impl Sync for ProjectServiceAccount
impl Unpin for ProjectServiceAccount
impl UnwindSafe for ProjectServiceAccount
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