pub struct ConditionSetRequestBody {
pub name: ConditionSetRequestBodyName,
pub owner: Option<OwnerInput>,
pub owner_id: Option<OwnerIdInput>,
}Expand description
ConditionSetRequestBody
JSON schema
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name to assign to condition set.",
"type": "string",
"maxLength": 100,
"minLength": 1
},
"owner": {
"$ref": "#/components/schemas/OwnerInput"
},
"owner_id": {
"allOf": [
{
"$ref": "#/components/schemas/OwnerIdInput"
},
{}
]
}
}
}Fields§
§name: ConditionSetRequestBodyNameName to assign to condition set.
owner: Option<OwnerInput>§owner_id: Option<OwnerIdInput>Trait Implementations§
Source§impl Clone for ConditionSetRequestBody
impl Clone for ConditionSetRequestBody
Source§fn clone(&self) -> ConditionSetRequestBody
fn clone(&self) -> ConditionSetRequestBody
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 ConditionSetRequestBody
impl Debug for ConditionSetRequestBody
Source§impl<'de> Deserialize<'de> for ConditionSetRequestBody
impl<'de> Deserialize<'de> for ConditionSetRequestBody
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<&ConditionSetRequestBody> for ConditionSetRequestBody
impl From<&ConditionSetRequestBody> for ConditionSetRequestBody
Source§fn from(value: &ConditionSetRequestBody) -> Self
fn from(value: &ConditionSetRequestBody) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ConditionSetRequestBody
impl RefUnwindSafe for ConditionSetRequestBody
impl Send for ConditionSetRequestBody
impl Sync for ConditionSetRequestBody
impl Unpin for ConditionSetRequestBody
impl UnwindSafe for ConditionSetRequestBody
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