Struct eva_sdk::types::ShortItemState
source · pub struct ShortItemState {
pub oid: OID,
pub status: ItemStatus,
pub value: Option<Value>,
}Expand description
short item state, without set-time, collected from RPC, useful to keep/transfer via internal channels
Fields§
§oid: OID§status: ItemStatus§value: Option<Value>Implementations§
source§impl ShortItemState
impl ShortItemState
pub fn into_raw_state_event_owned(self) -> (OID, RawStateEventOwned)
Trait Implementations§
source§impl Clone for ShortItemState
impl Clone for ShortItemState
source§fn clone(&self) -> ShortItemState
fn clone(&self) -> ShortItemState
Returns a copy 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 ShortItemState
impl Debug for ShortItemState
source§impl<'de> Deserialize<'de> for ShortItemState
impl<'de> Deserialize<'de> for ShortItemState
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
Auto Trait Implementations§
impl RefUnwindSafe for ShortItemState
impl Send for ShortItemState
impl Sync for ShortItemState
impl Unpin for ShortItemState
impl UnwindSafe for ShortItemState
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