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