pub struct PlatformDdosResponse {
pub status: Option<String>,
pub meta: Option<Box<HistoricalDdosMeta>>,
pub msg: Option<String>,
pub data: Option<Vec<PlatformDdosEntry>>,
}
Fields§
§status: Option<String>
Whether or not we were able to successfully execute the query.
meta: Option<Box<HistoricalDdosMeta>>
§msg: Option<String>
If the query was not successful, this will provide a string that explains why.
data: Option<Vec<PlatformDdosEntry>>
A list of timeseries.
Implementations§
Source§impl PlatformDdosResponse
impl PlatformDdosResponse
pub fn new() -> PlatformDdosResponse
Trait Implementations§
Source§impl Clone for PlatformDdosResponse
impl Clone for PlatformDdosResponse
Source§fn clone(&self) -> PlatformDdosResponse
fn clone(&self) -> PlatformDdosResponse
Returns a copy 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 PlatformDdosResponse
impl Debug for PlatformDdosResponse
Source§impl Default for PlatformDdosResponse
impl Default for PlatformDdosResponse
Source§fn default() -> PlatformDdosResponse
fn default() -> PlatformDdosResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformDdosResponse
impl<'de> Deserialize<'de> for PlatformDdosResponse
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
Source§impl PartialEq for PlatformDdosResponse
impl PartialEq for PlatformDdosResponse
Source§impl Serialize for PlatformDdosResponse
impl Serialize for PlatformDdosResponse
impl StructuralPartialEq for PlatformDdosResponse
Auto Trait Implementations§
impl Freeze for PlatformDdosResponse
impl RefUnwindSafe for PlatformDdosResponse
impl Send for PlatformDdosResponse
impl Sync for PlatformDdosResponse
impl Unpin for PlatformDdosResponse
impl UnwindSafe for PlatformDdosResponse
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