pub struct PlatformMetadata {
pub from: Option<String>,
pub to: Option<String>,
pub next_cursor: Option<String>,
pub group_by: Option<String>,
pub limit: Option<i32>,
}Expand description
PlatformMetadata : Meta information about the scope of the query in a human readable format.
Fields§
§from: Option<String>An RFC-8339-formatted date and time indicating the inclusive start of the query time range.
to: Option<String>An RFC-8339-formatted date and time indicating the exclusive end of the query time range.
next_cursor: Option<String>A string that can be used to request the next page of results, if any.
group_by: Option<String>A comma-separated list of fields used to group and order the results.
limit: Option<i32>The maximum number of results to return.
Implementations§
Source§impl PlatformMetadata
impl PlatformMetadata
Sourcepub fn new() -> PlatformMetadata
pub fn new() -> PlatformMetadata
Meta information about the scope of the query in a human readable format.
Trait Implementations§
Source§impl Clone for PlatformMetadata
impl Clone for PlatformMetadata
Source§fn clone(&self) -> PlatformMetadata
fn clone(&self) -> PlatformMetadata
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 PlatformMetadata
impl Debug for PlatformMetadata
Source§impl Default for PlatformMetadata
impl Default for PlatformMetadata
Source§fn default() -> PlatformMetadata
fn default() -> PlatformMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformMetadata
impl<'de> Deserialize<'de> for PlatformMetadata
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 PlatformMetadata
impl PartialEq for PlatformMetadata
Source§impl Serialize for PlatformMetadata
impl Serialize for PlatformMetadata
impl StructuralPartialEq for PlatformMetadata
Auto Trait Implementations§
impl Freeze for PlatformMetadata
impl RefUnwindSafe for PlatformMetadata
impl Send for PlatformMetadata
impl Sync for PlatformMetadata
impl Unpin for PlatformMetadata
impl UnwindSafe for PlatformMetadata
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