Struct driftdb::ApplyResult
source · 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: usize
The 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 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 more