pub struct GetAttacksReportParams {
pub from: String,
pub to: Option<String>,
}
Expand description
struct for passing parameters to the method get_attacks_report
Fields§
§from: String
The start of a time range in RFC 3339 format.
to: Option<String>
The end of a time range in RFC 3339 format. Defaults to the current time.
Trait Implementations§
Source§impl Clone for GetAttacksReportParams
impl Clone for GetAttacksReportParams
Source§fn clone(&self) -> GetAttacksReportParams
fn clone(&self) -> GetAttacksReportParams
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 GetAttacksReportParams
impl Debug for GetAttacksReportParams
Source§impl Default for GetAttacksReportParams
impl Default for GetAttacksReportParams
Source§fn default() -> GetAttacksReportParams
fn default() -> GetAttacksReportParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetAttacksReportParams
impl RefUnwindSafe for GetAttacksReportParams
impl Send for GetAttacksReportParams
impl Sync for GetAttacksReportParams
impl Unpin for GetAttacksReportParams
impl UnwindSafe for GetAttacksReportParams
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