pub struct ApplyResult {
pub key: Key,
pub delete_instruction: Option<DeleteInstruction>,
pub push_instruction: Option<PushInstruction>,
pub broadcast: Option<SequenceValue>,
pub stream_size: usize,
}Fields§
§key: Key§delete_instruction: Option<DeleteInstruction>Optional instruction to remove some or all existing values.
push_instruction: Option<PushInstruction>Optional instruction to push a value to the subject.
broadcast: Option<SequenceValue>Optional value to broadcast to clients.
stream_size: usizeThe number of retained records for the given subject after applying the action.
Implementations§
Trait Implementations§
Source§impl Clone for ApplyResult
impl Clone for ApplyResult
Source§fn clone(&self) -> ApplyResult
fn clone(&self) -> ApplyResult
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 moreAuto Trait Implementations§
impl Freeze for ApplyResult
impl RefUnwindSafe for ApplyResult
impl Send for ApplyResult
impl Sync for ApplyResult
impl Unpin for ApplyResult
impl UnwindSafe for ApplyResult
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