pub struct ListNamespacesRequest {
pub id: Option<Vec<String>>,
pub page_token: Option<String>,
pub limit: Option<i32>,
}
Fields§
§id: Option<Vec<String>>
§page_token: Option<String>
An opaque token that allows pagination for list operations (e.g. ListNamespaces). For an initial request of a list operation, if the implementation cannot return all items in one response, or if there are more items than the page limit specified in the request, the implementation must return a page token in the response, indicating there are more results available. After the initial request, the value of the page token from each response must be used as the page token value for the next request. Caller must interpret either null
, missing value or empty string value of the page token from the implementation’s response as the end of the listing results.
limit: Option<i32>
An inclusive upper bound of the number of results that a caller will receive.
Implementations§
Source§impl ListNamespacesRequest
impl ListNamespacesRequest
pub fn new() -> ListNamespacesRequest
Trait Implementations§
Source§impl Clone for ListNamespacesRequest
impl Clone for ListNamespacesRequest
Source§fn clone(&self) -> ListNamespacesRequest
fn clone(&self) -> ListNamespacesRequest
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 ListNamespacesRequest
impl Debug for ListNamespacesRequest
Source§impl Default for ListNamespacesRequest
impl Default for ListNamespacesRequest
Source§fn default() -> ListNamespacesRequest
fn default() -> ListNamespacesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListNamespacesRequest
impl<'de> Deserialize<'de> for ListNamespacesRequest
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 ListNamespacesRequest
impl PartialEq for ListNamespacesRequest
Source§impl Serialize for ListNamespacesRequest
impl Serialize for ListNamespacesRequest
impl StructuralPartialEq for ListNamespacesRequest
Auto Trait Implementations§
impl Freeze for ListNamespacesRequest
impl RefUnwindSafe for ListNamespacesRequest
impl Send for ListNamespacesRequest
impl Sync for ListNamespacesRequest
impl Unpin for ListNamespacesRequest
impl UnwindSafe for ListNamespacesRequest
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