pub struct GcpServiceAccountHeartbeatData {Show 14 fields
pub description: Option<String>,
pub disabled: Option<bool>,
pub display_name: Option<String>,
pub email: String,
pub etag: Option<String>,
pub name: Option<String>,
pub oauth2_client_id: Option<String>,
pub project_binding_count: i32,
pub project_id: Option<String>,
pub project_roles: Vec<String>,
pub service_account_binding_count: i32,
pub service_account_roles: Vec<String>,
pub status: ServiceAccountHeartbeatStatus,
pub unique_id: Option<String>,
}Expand description
GcpServiceAccountHeartbeatData
JSON schema
{
"type": "object",
"required": [
"email",
"projectBindingCount",
"projectRoles",
"serviceAccountBindingCount",
"serviceAccountRoles",
"status"
],
"properties": {
"description": {
"type": [
"string",
"null"
]
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"displayName": {
"type": [
"string",
"null"
]
},
"email": {
"type": "string"
},
"etag": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"oauth2ClientId": {
"type": [
"string",
"null"
]
},
"projectBindingCount": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"projectId": {
"type": [
"string",
"null"
]
},
"projectRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"serviceAccountBindingCount": {
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"serviceAccountRoles": {
"type": "array",
"items": {
"type": "string"
}
},
"status": {
"$ref": "#/components/schemas/ServiceAccountHeartbeatStatus"
},
"uniqueId": {
"type": [
"string",
"null"
]
}
}
}Fields§
§description: Option<String>§disabled: Option<bool>§display_name: Option<String>§email: String§etag: Option<String>§name: Option<String>§oauth2_client_id: Option<String>§project_binding_count: i32§project_id: Option<String>§project_roles: Vec<String>§service_account_binding_count: i32§service_account_roles: Vec<String>§status: ServiceAccountHeartbeatStatus§unique_id: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for GcpServiceAccountHeartbeatData
impl Clone for GcpServiceAccountHeartbeatData
Source§fn clone(&self) -> GcpServiceAccountHeartbeatData
fn clone(&self) -> GcpServiceAccountHeartbeatData
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 GcpServiceAccountHeartbeatData
impl<'de> Deserialize<'de> for GcpServiceAccountHeartbeatData
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 From<&GcpServiceAccountHeartbeatData> for GcpServiceAccountHeartbeatData
impl From<&GcpServiceAccountHeartbeatData> for GcpServiceAccountHeartbeatData
Source§fn from(value: &GcpServiceAccountHeartbeatData) -> Self
fn from(value: &GcpServiceAccountHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl From<GcpServiceAccountHeartbeatData> for GcpServiceAccountHeartbeatData
impl From<GcpServiceAccountHeartbeatData> for GcpServiceAccountHeartbeatData
Source§fn from(value: GcpServiceAccountHeartbeatData) -> Self
fn from(value: GcpServiceAccountHeartbeatData) -> Self
Converts to this type from the input type.
Source§impl TryFrom<GcpServiceAccountHeartbeatData> for GcpServiceAccountHeartbeatData
impl TryFrom<GcpServiceAccountHeartbeatData> for GcpServiceAccountHeartbeatData
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: GcpServiceAccountHeartbeatData,
) -> Result<Self, ConversionError>
fn try_from( value: GcpServiceAccountHeartbeatData, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpServiceAccountHeartbeatData
impl RefUnwindSafe for GcpServiceAccountHeartbeatData
impl Send for GcpServiceAccountHeartbeatData
impl Sync for GcpServiceAccountHeartbeatData
impl Unpin for GcpServiceAccountHeartbeatData
impl UnsafeUnpin for GcpServiceAccountHeartbeatData
impl UnwindSafe for GcpServiceAccountHeartbeatData
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