pub struct ListQuery {
pub home_dir: PathBuf,
pub current_dir: PathBuf,
pub caller_identity: AgentName,
pub caller_team: TeamName,
pub target_address: Option<AgentAddress>,
pub selection_mode: ReadSelection,
pub seen_state_filter: bool,
pub limit: Option<usize>,
pub sender_filter: Option<AgentName>,
pub timestamp_filter: Option<IsoTimestamp>,
pub task_filter: Option<TaskId>,
pub contains_filter: Option<String>,
}Fields§
§home_dir: PathBuf§current_dir: PathBuf§caller_identity: AgentName§caller_team: TeamName§target_address: Option<AgentAddress>§selection_mode: ReadSelection§seen_state_filter: bool§limit: Option<usize>§sender_filter: Option<AgentName>§timestamp_filter: Option<IsoTimestamp>§task_filter: Option<TaskId>§contains_filter: Option<String>Implementations§
Source§impl ListQuery
impl ListQuery
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, limit: Option<usize>, sender_filter: Option<&str>, timestamp_filter: Option<IsoTimestamp>, task_filter: Option<&str>, contains_filter: Option<&str>, ) -> Result<Self, AtmError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ListQuery
impl<'de> Deserialize<'de> for ListQuery
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 ListQuery
impl RefUnwindSafe for ListQuery
impl Send for ListQuery
impl Sync for ListQuery
impl Unpin for ListQuery
impl UnsafeUnpin for ListQuery
impl UnwindSafe for ListQuery
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