#[non_exhaustive]pub struct ListFindingsMeta {
pub page: Option<ListFindingsPage>,
pub snapshot_timestamp: Option<i64>,
/* private fields */
}
Expand description
Metadata for pagination.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.page: Option<ListFindingsPage>
Pagination and findings count information.
snapshot_timestamp: Option<i64>
The point in time corresponding to the listed findings.
Implementations§
Source§impl ListFindingsMeta
impl ListFindingsMeta
pub fn new() -> ListFindingsMeta
pub fn page(self, value: ListFindingsPage) -> Self
pub fn snapshot_timestamp(self, value: i64) -> Self
Trait Implementations§
Source§impl Clone for ListFindingsMeta
impl Clone for ListFindingsMeta
Source§fn clone(&self) -> ListFindingsMeta
fn clone(&self) -> ListFindingsMeta
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 ListFindingsMeta
impl Debug for ListFindingsMeta
Source§impl Default for ListFindingsMeta
impl Default for ListFindingsMeta
Source§impl<'de> Deserialize<'de> for ListFindingsMeta
impl<'de> Deserialize<'de> for ListFindingsMeta
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 ListFindingsMeta
impl PartialEq for ListFindingsMeta
Source§impl Serialize for ListFindingsMeta
impl Serialize for ListFindingsMeta
impl StructuralPartialEq for ListFindingsMeta
Auto Trait Implementations§
impl Freeze for ListFindingsMeta
impl RefUnwindSafe for ListFindingsMeta
impl Send for ListFindingsMeta
impl Sync for ListFindingsMeta
impl Unpin for ListFindingsMeta
impl UnwindSafe for ListFindingsMeta
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