Struct dimas_com::messages::AboutEntity
source · pub struct AboutEntity { /* private fields */ }Expand description
A DiMAS entity
Implementations§
source§impl AboutEntity
impl AboutEntity
sourcepub const fn new(
name: String,
kind: String,
zid: String,
state: OperationState,
) -> Self
pub const fn new( name: String, kind: String, zid: String, state: OperationState, ) -> Self
Constructor
sourcepub const fn state(&self) -> &OperationState
pub const fn state(&self) -> &OperationState
Get the state
Trait Implementations§
source§impl Clone for AboutEntity
impl Clone for AboutEntity
source§impl Debug for AboutEntity
impl Debug for AboutEntity
source§impl Display for AboutEntity
impl Display for AboutEntity
source§impl Ord for AboutEntity
impl Ord for AboutEntity
source§impl PartialEq for AboutEntity
impl PartialEq for AboutEntity
source§impl PartialOrd for AboutEntity
impl PartialOrd for AboutEntity
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl<'__de> Decode<'__de> for AboutEntitywhere
'__de:,
impl Encode for AboutEntity
impl Eq for AboutEntity
Auto Trait Implementations§
impl Freeze for AboutEntity
impl RefUnwindSafe for AboutEntity
impl Send for AboutEntity
impl Sync for AboutEntity
impl Unpin for AboutEntity
impl UnwindSafe for AboutEntity
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
source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.