pub enum LocationItem {
String(String),
Integer(i64),
}Expand description
LocationItem
JSON schema
{
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
}Variants§
Trait Implementations§
Source§impl Clone for LocationItem
impl Clone for LocationItem
Source§fn clone(&self) -> LocationItem
fn clone(&self) -> LocationItem
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 LocationItem
impl Debug for LocationItem
Source§impl<'de> Deserialize<'de> for LocationItem
impl<'de> Deserialize<'de> for LocationItem
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 Display for LocationItem
impl Display for LocationItem
Source§impl From<i64> for LocationItem
impl From<i64> for LocationItem
Auto Trait Implementations§
impl Freeze for LocationItem
impl RefUnwindSafe for LocationItem
impl Send for LocationItem
impl Sync for LocationItem
impl Unpin for LocationItem
impl UnsafeUnpin for LocationItem
impl UnwindSafe for LocationItem
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