pub struct StateObject {
pub entity_type: Option<EntityType>,
pub properties: StateProperties,
}Fields§
§entity_type: Option<EntityType>§properties: StatePropertiesTrait Implementations§
Source§impl Clone for StateObject
impl Clone for StateObject
Source§fn clone(&self) -> StateObject
fn clone(&self) -> StateObject
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 StateObject
impl Debug for StateObject
Source§impl<'de> Deserialize<'de> for StateObject
impl<'de> Deserialize<'de> for StateObject
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 StateObject
impl PartialEq for StateObject
Source§impl Serialize for StateObject
impl Serialize for StateObject
impl StructuralPartialEq for StateObject
Auto Trait Implementations§
impl Freeze for StateObject
impl RefUnwindSafe for StateObject
impl Send for StateObject
impl Sync for StateObject
impl Unpin for StateObject
impl UnsafeUnpin for StateObject
impl UnwindSafe for StateObject
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