pub struct LocationConstraint {
pub locations: Vec<LocationConstraintItem>,
pub is_required: bool,
pub suggest_location: bool,
}Fields§
§locations: Vec<LocationConstraintItem>§is_required: bool§suggest_location: boolTrait Implementations§
Source§impl Clone for LocationConstraint
impl Clone for LocationConstraint
Source§fn clone(&self) -> LocationConstraint
fn clone(&self) -> LocationConstraint
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 LocationConstraint
impl Debug for LocationConstraint
Source§impl<'de> Deserialize<'de> for LocationConstraint
impl<'de> Deserialize<'de> for LocationConstraint
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
impl Eq for LocationConstraint
Source§impl PartialEq for LocationConstraint
impl PartialEq for LocationConstraint
Source§fn eq(&self, other: &LocationConstraint) -> bool
fn eq(&self, other: &LocationConstraint) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocationConstraint
impl Serialize for LocationConstraint
impl StructuralPartialEq for LocationConstraint
Auto Trait Implementations§
impl Freeze for LocationConstraint
impl RefUnwindSafe for LocationConstraint
impl Send for LocationConstraint
impl Sync for LocationConstraint
impl Unpin for LocationConstraint
impl UnsafeUnpin for LocationConstraint
impl UnwindSafe for LocationConstraint
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