pub struct ListNamespacesRequest {
pub identity: Option<Box<Identity>>,
pub context: Option<HashMap<String, String>>,
pub id: Option<Vec<String>>,
pub page_token: Option<String>,
pub limit: Option<i32>,
}Fields§
§identity: Option<Box<Identity>>§context: Option<HashMap<String, String>>Arbitrary context for a request as key-value pairs. How to use the context is custom to the specific implementation. REST NAMESPACE ONLY Context entries are passed via HTTP headers using the naming convention x-lance-ctx-<key>: <value>. For example, a context entry {\"trace_id\": \"abc123\"} would be sent as the header x-lance-ctx-trace_id: abc123.
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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
Source§impl<'de> Deserialize<'de> for ListNamespacesRequest
impl<'de> Deserialize<'de> for ListNamespacesRequest
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListNamespacesRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ListNamespacesRequest, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ListNamespacesRequest
impl PartialEq for ListNamespacesRequest
Source§fn eq(&self, other: &ListNamespacesRequest) -> bool
fn eq(&self, other: &ListNamespacesRequest) -> bool
self and other values to be equal, and is used by ==.