pub struct ProjectServiceAccountCreateResponse {
pub object: String,
pub id: String,
pub name: String,
pub role: String,
pub created_at: u32,
pub api_key: ProjectServiceAccountApiKey,
}Expand description
Represents the response object for creating a project service account.
Fields§
§object: StringThe object type, which is always organization.project.service_account.
id: StringThe ID of the created service account.
name: StringThe name of the created service account.
role: StringService accounts can only have one role of type member.
created_at: u32The Unix timestamp (in seconds) of when the service account was created.
api_key: ProjectServiceAccountApiKeyThe API key associated with the created service account.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ProjectServiceAccountCreateResponse
impl<'de> Deserialize<'de> for ProjectServiceAccountCreateResponse
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 ProjectServiceAccountCreateResponse
impl RefUnwindSafe for ProjectServiceAccountCreateResponse
impl Send for ProjectServiceAccountCreateResponse
impl Sync for ProjectServiceAccountCreateResponse
impl Unpin for ProjectServiceAccountCreateResponse
impl UnwindSafe for ProjectServiceAccountCreateResponse
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