pub struct SnsListRequest {
pub network: String,
pub source_endpoint: String,
pub now_unix_secs: u64,
pub all_lifecycles: bool,
pub verbose: bool,
pub sort: SnsListSort,
}Expand description
SnsListRequest
Request accepted by the deployed SNS list report builder.
Fields§
§network: String§source_endpoint: String§now_unix_secs: u64§all_lifecycles: boolWhether to include SNS instances outside the normal visible lifecycle set.
verbose: bool§sort: SnsListSortImplementations§
Source§impl SnsListRequest
impl SnsListRequest
pub fn new( network: impl Into<String>, source_endpoint: impl Into<String>, now_unix_secs: u64, ) -> Self
pub const fn with_verbose(self, verbose: bool) -> Self
Sourcepub const fn with_all_lifecycles(self, all_lifecycles: bool) -> Self
pub const fn with_all_lifecycles(self, all_lifecycles: bool) -> Self
Sets whether the list view includes every lifecycle represented in the catalog.
pub const fn with_sort(self, sort: SnsListSort) -> Self
Trait Implementations§
Source§impl Clone for SnsListRequest
impl Clone for SnsListRequest
Source§fn clone(&self) -> SnsListRequest
fn clone(&self) -> SnsListRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SnsListRequest
impl Debug for SnsListRequest
impl Eq for SnsListRequest
Source§impl PartialEq for SnsListRequest
impl PartialEq for SnsListRequest
impl StructuralPartialEq for SnsListRequest
Auto Trait Implementations§
impl Freeze for SnsListRequest
impl RefUnwindSafe for SnsListRequest
impl Send for SnsListRequest
impl Sync for SnsListRequest
impl Unpin for SnsListRequest
impl UnsafeUnpin for SnsListRequest
impl UnwindSafe for SnsListRequest
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