pub struct GcpCondition {
pub expression: String,
pub title: String,
}Expand description
GCP IAM condition
JSON schema
{
"description": "GCP IAM condition",
"type": "object",
"required": [
"expression",
"title"
],
"properties": {
"expression": {
"type": "string"
},
"title": {
"type": "string"
}
},
"additionalProperties": false
}Fields§
§expression: String§title: StringImplementations§
Source§impl GcpCondition
impl GcpCondition
pub fn builder() -> GcpCondition
Trait Implementations§
Source§impl Clone for GcpCondition
impl Clone for GcpCondition
Source§fn clone(&self) -> GcpCondition
fn clone(&self) -> GcpCondition
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 Debug for GcpCondition
impl Debug for GcpCondition
Source§impl<'de> Deserialize<'de> for GcpCondition
impl<'de> Deserialize<'de> for GcpCondition
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<&GcpCondition> for GcpCondition
impl From<&GcpCondition> for GcpCondition
Source§fn from(value: &GcpCondition) -> Self
fn from(value: &GcpCondition) -> Self
Converts to this type from the input type.
Source§impl From<GcpCondition> for GcpCondition
impl From<GcpCondition> for GcpCondition
Source§fn from(value: GcpCondition) -> Self
fn from(value: GcpCondition) -> Self
Converts to this type from the input type.
Source§impl Serialize for GcpCondition
impl Serialize for GcpCondition
Source§impl TryFrom<GcpCondition> for GcpCondition
impl TryFrom<GcpCondition> for GcpCondition
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: GcpCondition) -> Result<Self, ConversionError>
fn try_from(value: GcpCondition) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for GcpCondition
impl RefUnwindSafe for GcpCondition
impl Send for GcpCondition
impl Sync for GcpCondition
impl Unpin for GcpCondition
impl UnsafeUnpin for GcpCondition
impl UnwindSafe for GcpCondition
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