pub struct ReadQuery { /* private fields */ }Expand description
Parameters for querying and optionally mutating one mailbox display surface.
Implementations§
Source§impl ReadQuery
impl ReadQuery
pub fn new( home_dir: PathBuf, current_dir: PathBuf, caller_identity: AgentName, target_address: Option<&str>, caller_team: TeamName, selection_mode: ReadSelection, seen_state_filter: bool, seen_state_update: bool, message_id_filter: Option<&str>, sender_filter: Option<&str>, timestamp_filter: Option<IsoTimestamp>, task_filter: Option<&str>, contains_filter: Option<&str>, timeout_secs: Option<u64>, ) -> Result<Self, AtmError>
pub fn team_override(&self) -> Option<&TeamName>
pub fn selection_mode(&self) -> ReadSelection
pub fn seen_state_filter(&self) -> bool
pub fn seen_state_update(&self) -> bool
pub fn message_id_filter(&self) -> Option<&AtmMessageId>
pub fn timeout_secs(&self) -> Option<u64>
pub fn with_selection_mode(self, selection_mode: ReadSelection) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReadQuery
impl<'de> Deserialize<'de> for ReadQuery
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 ReadQuery
impl RefUnwindSafe for ReadQuery
impl Send for ReadQuery
impl Sync for ReadQuery
impl Unpin for ReadQuery
impl UnsafeUnpin for ReadQuery
impl UnwindSafe for ReadQuery
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