pub struct JobSkills {
pub all_of: Option<HashSet<String>>,
pub one_of: Option<HashSet<String>>,
pub none_of: Option<HashSet<String>>,
}Expand description
A job skills limitation for a vehicle.
Fields§
§all_of: Option<HashSet<String>>Vehicle should have all of these skills defined.
one_of: Option<HashSet<String>>Vehicle should have at least one of these skills defined.
none_of: Option<HashSet<String>>Vehicle should have none of these skills defined.
Implementations§
Auto Trait Implementations§
impl Freeze for JobSkills
impl RefUnwindSafe for JobSkills
impl Send for JobSkills
impl Sync for JobSkills
impl Unpin for JobSkills
impl UnsafeUnpin for JobSkills
impl UnwindSafe for JobSkills
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> 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