pub struct DestinationSchema {
    pub x: Option<i32>,
    pub y: Option<i32>,
    pub map_id: Option<i32>,
}Fields§
§x: Option<i32>The x coordinate of the destination.
y: Option<i32>The y coordinate of the destination.
map_id: Option<i32>The map ID of the destination.
Implementations§
Source§impl DestinationSchema
 
impl DestinationSchema
pub fn new() -> DestinationSchema
Trait Implementations§
Source§impl Clone for DestinationSchema
 
impl Clone for DestinationSchema
Source§fn clone(&self) -> DestinationSchema
 
fn clone(&self) -> DestinationSchema
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 Debug for DestinationSchema
 
impl Debug for DestinationSchema
Source§impl Default for DestinationSchema
 
impl Default for DestinationSchema
Source§fn default() -> DestinationSchema
 
fn default() -> DestinationSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DestinationSchema
 
impl<'de> Deserialize<'de> for DestinationSchema
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 DestinationSchema
 
impl PartialEq for DestinationSchema
Source§impl Serialize for DestinationSchema
 
impl Serialize for DestinationSchema
impl StructuralPartialEq for DestinationSchema
Auto Trait Implementations§
impl Freeze for DestinationSchema
impl RefUnwindSafe for DestinationSchema
impl Send for DestinationSchema
impl Sync for DestinationSchema
impl Unpin for DestinationSchema
impl UnwindSafe for DestinationSchema
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