pub struct Dimensions { /* private fields */ }
Expand description
Multiple named dimensions which can contain anything:
- unit of measure, e.g. volume, mass, size, etc.
- set of skills
- tag.
Implementations§
Trait Implementations§
Source§impl Clone for Dimensions
impl Clone for Dimensions
Source§fn clone(&self) -> Dimensions
fn clone(&self) -> Dimensions
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 ClusterInfoDimension for Dimensions
impl ClusterInfoDimension for Dimensions
Source§fn get_cluster_info(&self) -> Option<&Vec<ClusterInfo>>
fn get_cluster_info(&self) -> Option<&Vec<ClusterInfo>>
Gets ClusterInfo property.
Source§fn set_cluster_info(&mut self, value: Vec<ClusterInfo>) -> &mut Self
fn set_cluster_info(&mut self, value: Vec<ClusterInfo>) -> &mut Self
Sets ClusterInfo property.
Source§impl Debug for Dimensions
impl Debug for Dimensions
Source§impl Default for Dimensions
impl Default for Dimensions
Source§fn default() -> Dimensions
fn default() -> Dimensions
Returns the “default value” for a type. Read more
Source§impl JobCompatibilityDimension for Dimensions
impl JobCompatibilityDimension for Dimensions
Source§fn get_job_compatibility(&self) -> Option<&String>
fn get_job_compatibility(&self) -> Option<&String>
Gets JobCompatibility property.
Source§fn set_job_compatibility(&mut self, value: String) -> &mut Self
fn set_job_compatibility(&mut self, value: String) -> &mut Self
Sets JobCompatibility property.
Source§impl JobDemandDimension for Dimensions
impl JobDemandDimension for Dimensions
Source§impl JobGroupDimension for Dimensions
impl JobGroupDimension for Dimensions
Source§fn get_job_group(&self) -> Option<&String>
fn get_job_group(&self) -> Option<&String>
Gets JobGroup property.
Source§fn set_job_group(&mut self, value: String) -> &mut Self
fn set_job_group(&mut self, value: String) -> &mut Self
Sets JobGroup property.
Source§impl JobIdDimension for Dimensions
impl JobIdDimension for Dimensions
Source§fn get_job_id(&self) -> Option<&String>
fn get_job_id(&self) -> Option<&String>
Gets JobId property.
Source§fn set_job_id(&mut self, value: String) -> &mut Self
fn set_job_id(&mut self, value: String) -> &mut Self
Sets JobId property.
Source§impl JobSkillsDimension for Dimensions
impl JobSkillsDimension for Dimensions
Source§fn get_job_skills(&self) -> Option<&JobSkills>
fn get_job_skills(&self) -> Option<&JobSkills>
Gets JobSkills property.
Source§fn set_job_skills(&mut self, value: JobSkills) -> &mut Self
fn set_job_skills(&mut self, value: JobSkills) -> &mut Self
Sets JobSkills property.
Source§impl VehicleCapacityDimension for Dimensions
impl VehicleCapacityDimension for Dimensions
Source§fn set_vehicle_capacity<T: LoadOps>(&mut self, value: T) -> &mut Self
fn set_vehicle_capacity<T: LoadOps>(&mut self, value: T) -> &mut Self
Sets VehicleCapacity property.
Source§impl VehicleIdDimension for Dimensions
impl VehicleIdDimension for Dimensions
Source§fn get_vehicle_id(&self) -> Option<&String>
fn get_vehicle_id(&self) -> Option<&String>
Gets VehicleId property.
Source§fn set_vehicle_id(&mut self, value: String) -> &mut Self
fn set_vehicle_id(&mut self, value: String) -> &mut Self
Sets VehicleId property.
Source§impl VehicleSkillsDimension for Dimensions
impl VehicleSkillsDimension for Dimensions
Auto Trait Implementations§
impl Freeze for Dimensions
impl !RefUnwindSafe for Dimensions
impl Send for Dimensions
impl Sync for Dimensions
impl Unpin for Dimensions
impl !UnwindSafe for Dimensions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more