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