pub struct ReadOutcome {
pub action: CommandAction,
pub team: TeamName,
pub agent: AgentName,
pub selection_mode: ReadSelection,
pub mutation_applied: bool,
pub count: usize,
pub message: Option<ClassifiedMessage>,
pub selected_message_id: Option<AtmMessageId>,
pub match_count: usize,
pub additional_match_count: usize,
pub bucket_counts: BucketCounts,
}Expand description
Result of one mailbox read/query command.
Fields§
§action: CommandAction§team: TeamName§agent: AgentName§selection_mode: ReadSelection§mutation_applied: bool§count: usize§message: Option<ClassifiedMessage>§selected_message_id: Option<AtmMessageId>§match_count: usize§additional_match_count: usize§bucket_counts: BucketCountsTrait Implementations§
Source§impl Clone for ReadOutcome
impl Clone for ReadOutcome
Source§fn clone(&self) -> ReadOutcome
fn clone(&self) -> ReadOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReadOutcome
impl Debug for ReadOutcome
Source§impl<'de> Deserialize<'de> for ReadOutcome
impl<'de> Deserialize<'de> for ReadOutcome
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 Freeze for ReadOutcome
impl RefUnwindSafe for ReadOutcome
impl Send for ReadOutcome
impl Sync for ReadOutcome
impl Unpin for ReadOutcome
impl UnsafeUnpin for ReadOutcome
impl UnwindSafe for ReadOutcome
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