pub struct NnsNodeListRequest {
pub cache: NnsNodeCacheRequest,
pub source_endpoint: String,
pub now_unix_secs: u64,
pub filters: NnsNodeListFilters,
}Expand description
NnsNodeListRequest
Fields§
§cache: NnsNodeCacheRequest§source_endpoint: String§now_unix_secs: u64§filters: NnsNodeListFiltersImplementations§
Source§impl NnsNodeListRequest
impl NnsNodeListRequest
pub fn new( cache: NnsNodeCacheRequest, source_endpoint: impl Into<String>, now_unix_secs: u64, ) -> Self
pub fn with_filters(self, filters: NnsNodeListFilters) -> Self
pub fn with_subnet(self, subnet: impl Into<String>) -> Self
pub fn with_subnet_kind(self, subnet_kind: impl Into<String>) -> Self
pub fn with_data_center(self, data_center: impl Into<String>) -> Self
pub fn with_node_provider(self, node_provider: impl Into<String>) -> Self
pub fn with_node_operator(self, node_operator: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for NnsNodeListRequest
impl Clone for NnsNodeListRequest
Source§fn clone(&self) -> NnsNodeListRequest
fn clone(&self) -> NnsNodeListRequest
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 NnsNodeListRequest
impl Debug for NnsNodeListRequest
impl Eq for NnsNodeListRequest
Source§impl PartialEq for NnsNodeListRequest
impl PartialEq for NnsNodeListRequest
Source§fn eq(&self, other: &NnsNodeListRequest) -> bool
fn eq(&self, other: &NnsNodeListRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NnsNodeListRequest
Auto Trait Implementations§
impl Freeze for NnsNodeListRequest
impl RefUnwindSafe for NnsNodeListRequest
impl Send for NnsNodeListRequest
impl Sync for NnsNodeListRequest
impl Unpin for NnsNodeListRequest
impl UnsafeUnpin for NnsNodeListRequest
impl UnwindSafe for NnsNodeListRequest
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