pub struct ListNamespacesResponse {
pub namespaces: Vec<String>,
pub page_token: Option<String>,
}Fields§
§namespaces: Vec<String>The list of names of the child namespaces relative to the parent namespace id in the request.
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.
Implementations§
Source§impl ListNamespacesResponse
impl ListNamespacesResponse
pub fn new(namespaces: Vec<String>) -> ListNamespacesResponse
Trait Implementations§
Source§impl Clone for ListNamespacesResponse
impl Clone for ListNamespacesResponse
Source§fn clone(&self) -> ListNamespacesResponse
fn clone(&self) -> ListNamespacesResponse
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListNamespacesResponse
impl Debug for ListNamespacesResponse
Source§impl Default for ListNamespacesResponse
impl Default for ListNamespacesResponse
Source§fn default() -> ListNamespacesResponse
fn default() -> ListNamespacesResponse
Source§impl<'de> Deserialize<'de> for ListNamespacesResponse
impl<'de> Deserialize<'de> for ListNamespacesResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListNamespacesResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListNamespacesResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ListNamespacesResponse
impl PartialEq for ListNamespacesResponse
Source§impl Serialize for ListNamespacesResponse
impl Serialize for ListNamespacesResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ListNamespacesResponse
Auto Trait Implementations§
impl Freeze for ListNamespacesResponse
impl RefUnwindSafe for ListNamespacesResponse
impl Send for ListNamespacesResponse
impl Sync for ListNamespacesResponse
impl Unpin for ListNamespacesResponse
impl UnwindSafe for ListNamespacesResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more