Struct eva_sdk::types::FullItemState
source · [−]pub struct FullItemState {
pub oid: OID,
pub status: ItemStatus,
pub value: Value,
pub act: Option<usize>,
pub ieid: IEID,
pub t: f64,
}Expand description
Full item state, used by replication services for bulk topics
Fields
oid: OIDstatus: ItemStatusvalue: Valueact: Option<usize>ieid: IEIDt: f64Implementations
sourceimpl FullItemState
impl FullItemState
pub fn from_local_state_event(state: LocalStateEvent, oid: OID) -> Self
pub fn into_replication_state_event(
self,
node_name: &str
) -> ReplicationStateEvent
Trait Implementations
sourceimpl Clone for FullItemState
impl Clone for FullItemState
sourcefn clone(&self) -> FullItemState
fn clone(&self) -> FullItemState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FullItemState
impl Debug for FullItemState
sourceimpl<'de> Deserialize<'de> for FullItemState
impl<'de> Deserialize<'de> for FullItemState
sourcefn 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
sourceimpl From<FullItemState> for LocalStateEvent
impl From<FullItemState> for LocalStateEvent
sourcefn from(state: FullItemState) -> LocalStateEvent
fn from(state: FullItemState) -> LocalStateEvent
Converts to this type from the input type.
sourceimpl Serialize for FullItemState
impl Serialize for FullItemState
Auto Trait Implementations
impl RefUnwindSafe for FullItemState
impl Send for FullItemState
impl Sync for FullItemState
impl Unpin for FullItemState
impl UnwindSafe for FullItemState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more