pub struct ClearQuery {
pub home_dir: PathBuf,
pub current_dir: PathBuf,
pub caller_identity: AgentName,
pub caller_team: TeamName,
pub older_than: Option<Duration>,
pub idle_only: bool,
pub dry_run: bool,
}Expand description
Parameters for clearing read or acknowledged mailbox messages.
Fields§
§home_dir: PathBuf§current_dir: PathBuf§caller_identity: AgentName§caller_team: TeamName§older_than: Option<Duration>§idle_only: bool§dry_run: boolTrait Implementations§
Source§impl Clone for ClearQuery
impl Clone for ClearQuery
Source§fn clone(&self) -> ClearQuery
fn clone(&self) -> ClearQuery
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 ClearQuery
impl Debug for ClearQuery
Source§impl<'de> Deserialize<'de> for ClearQuery
impl<'de> Deserialize<'de> for ClearQuery
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 ClearQuery
impl RefUnwindSafe for ClearQuery
impl Send for ClearQuery
impl Sync for ClearQuery
impl Unpin for ClearQuery
impl UnsafeUnpin for ClearQuery
impl UnwindSafe for ClearQuery
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