pub struct WorkOrderTargeting {
pub agent_ids: Option<Vec<Uuid>>,
pub annotations: Option<HashMap<String, String>>,
pub labels: Option<Vec<String>>,
}Expand description
WorkOrderTargeting
JSON schema
{
"type": "object",
"properties": {
"agent_ids": {
"type": [
"array",
"null"
],
"items": {
"type": "string",
"format": "uuid"
}
},
"annotations": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
},
"labels": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
}
}
}Fields§
§agent_ids: Option<Vec<Uuid>>§annotations: Option<HashMap<String, String>>§labels: Option<Vec<String>>Implementations§
Source§impl WorkOrderTargeting
impl WorkOrderTargeting
pub fn builder() -> WorkOrderTargeting
Trait Implementations§
Source§impl Clone for WorkOrderTargeting
impl Clone for WorkOrderTargeting
Source§fn clone(&self) -> WorkOrderTargeting
fn clone(&self) -> WorkOrderTargeting
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 Debug for WorkOrderTargeting
impl Debug for WorkOrderTargeting
Source§impl Default for WorkOrderTargeting
impl Default for WorkOrderTargeting
Source§impl<'de> Deserialize<'de> for WorkOrderTargeting
impl<'de> Deserialize<'de> for WorkOrderTargeting
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<WorkOrderTargeting> for WorkOrderTargeting
impl From<WorkOrderTargeting> for WorkOrderTargeting
Source§fn from(value: WorkOrderTargeting) -> Self
fn from(value: WorkOrderTargeting) -> Self
Converts to this type from the input type.
Source§impl Serialize for WorkOrderTargeting
impl Serialize for WorkOrderTargeting
Source§impl TryFrom<WorkOrderTargeting> for WorkOrderTargeting
impl TryFrom<WorkOrderTargeting> for WorkOrderTargeting
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WorkOrderTargeting) -> Result<Self, ConversionError>
fn try_from(value: WorkOrderTargeting) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WorkOrderTargeting
impl RefUnwindSafe for WorkOrderTargeting
impl Send for WorkOrderTargeting
impl Sync for WorkOrderTargeting
impl Unpin for WorkOrderTargeting
impl UnsafeUnpin for WorkOrderTargeting
impl UnwindSafe for WorkOrderTargeting
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