pub struct InteractionSchema {
pub content: Option<Box<MapContentSchema>>,
pub transition: Option<Box<TransitionSchema>>,
}Fields§
§content: Option<Box<MapContentSchema>>Content of the map.
transition: Option<Box<TransitionSchema>>Transition to another map.
Implementations§
Source§impl InteractionSchema
impl InteractionSchema
pub fn new() -> InteractionSchema
Trait Implementations§
Source§impl Clone for InteractionSchema
impl Clone for InteractionSchema
Source§fn clone(&self) -> InteractionSchema
fn clone(&self) -> InteractionSchema
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 InteractionSchema
impl Debug for InteractionSchema
Source§impl Default for InteractionSchema
impl Default for InteractionSchema
Source§fn default() -> InteractionSchema
fn default() -> InteractionSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InteractionSchema
impl<'de> Deserialize<'de> for InteractionSchema
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 InteractionSchema
impl PartialEq for InteractionSchema
Source§impl Serialize for InteractionSchema
impl Serialize for InteractionSchema
impl StructuralPartialEq for InteractionSchema
Auto Trait Implementations§
impl Freeze for InteractionSchema
impl RefUnwindSafe for InteractionSchema
impl Send for InteractionSchema
impl Sync for InteractionSchema
impl Unpin for InteractionSchema
impl UnsafeUnpin for InteractionSchema
impl UnwindSafe for InteractionSchema
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