pub struct GoogleCloudSecuritycenterV1Binding {
pub name: Option<String>,
pub ns: Option<String>,
pub role: Option<Role>,
pub subjects: Option<Vec<Subject>>,
}Expand description
Represents a Kubernetes RoleBinding or ClusterRoleBinding.
This type is not used in any activity, and only used as part of another schema.
Fields§
§name: Option<String>Name for the binding.
ns: Option<String>Namespace for the binding.
role: Option<Role>The Role or ClusterRole referenced by the binding.
subjects: Option<Vec<Subject>>Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
Trait Implementations§
Source§impl Clone for GoogleCloudSecuritycenterV1Binding
impl Clone for GoogleCloudSecuritycenterV1Binding
Source§fn clone(&self) -> GoogleCloudSecuritycenterV1Binding
fn clone(&self) -> GoogleCloudSecuritycenterV1Binding
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudSecuritycenterV1Binding
impl Default for GoogleCloudSecuritycenterV1Binding
Source§fn default() -> GoogleCloudSecuritycenterV1Binding
fn default() -> GoogleCloudSecuritycenterV1Binding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudSecuritycenterV1Binding
impl<'de> Deserialize<'de> for GoogleCloudSecuritycenterV1Binding
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
impl Part for GoogleCloudSecuritycenterV1Binding
Auto Trait Implementations§
impl Freeze for GoogleCloudSecuritycenterV1Binding
impl RefUnwindSafe for GoogleCloudSecuritycenterV1Binding
impl Send for GoogleCloudSecuritycenterV1Binding
impl Sync for GoogleCloudSecuritycenterV1Binding
impl Unpin for GoogleCloudSecuritycenterV1Binding
impl UnwindSafe for GoogleCloudSecuritycenterV1Binding
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