pub struct EventsOptions {
pub since: Option<String>,
pub until: Option<String>,
pub filters: Option<HashMap<String, Vec<String>>>,
}Expand description
Internal struct used in the SystemEvents API
Use a EventsOptionsBuilder to instantiate this struct.
Fields§
§since: Option<String>§until: Option<String>§filters: Option<HashMap<String, Vec<String>>>Trait Implementations§
Source§impl Clone for EventsOptions
impl Clone for EventsOptions
Source§fn clone(&self) -> EventsOptions
fn clone(&self) -> EventsOptions
Returns a duplicate 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 moreSource§impl Debug for EventsOptions
impl Debug for EventsOptions
Source§impl Default for EventsOptions
impl Default for EventsOptions
Source§fn default() -> EventsOptions
fn default() -> EventsOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for EventsOptions
impl PartialEq for EventsOptions
Source§impl Serialize for EventsOptions
impl Serialize for EventsOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EventsOptions
Auto Trait Implementations§
impl Freeze for EventsOptions
impl RefUnwindSafe for EventsOptions
impl Send for EventsOptions
impl Sync for EventsOptions
impl Unpin for EventsOptions
impl UnsafeUnpin for EventsOptions
impl UnwindSafe for EventsOptions
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