pub struct SearchMetadataRequest { /* private fields */ }Implementations§
Source§impl SearchMetadataRequest
impl SearchMetadataRequest
Sourcepub fn builder() -> Builder<SortByStage>
pub fn builder() -> Builder<SortByStage>
Returns a new builder.
Source§impl SearchMetadataRequest
impl SearchMetadataRequest
Sourcepub fn new(sort_by: MetadataSortField) -> Self
pub fn new(sort_by: MetadataSortField) -> Self
Constructs a new instance of the type.
Sourcepub fn resource_types(&self) -> Option<&BTreeSet<ResourceType>>
pub fn resource_types(&self) -> Option<&BTreeSet<ResourceType>>
If omitted, all resource types are included.
Sourcepub fn workspaces(&self) -> Option<&BTreeSet<WorkspaceRid>>
pub fn workspaces(&self) -> Option<&BTreeSet<WorkspaceRid>>
If omitted, results will come from all workspaces the user belongs to.
Sourcepub fn search_text(&self) -> Option<&str>
pub fn search_text(&self) -> Option<&str>
Case-insensitive substring filter.
Sourcepub fn page_size(&self) -> Option<i32>
pub fn page_size(&self) -> Option<i32>
Maximum number of items per page. Defaults to 1000 if not specified.
Sourcepub fn page_token(&self) -> Option<&Token>
pub fn page_token(&self) -> Option<&Token>
Token for fetching the next page of results.
pub fn sort_by(&self) -> &MetadataSortField
Sourcepub fn descending(&self) -> Option<bool>
pub fn descending(&self) -> Option<bool>
If true, sort in descending order. Defaults to false.
Trait Implementations§
Source§impl Clone for SearchMetadataRequest
impl Clone for SearchMetadataRequest
Source§fn clone(&self) -> SearchMetadataRequest
fn clone(&self) -> SearchMetadataRequest
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 SearchMetadataRequest
impl Debug for SearchMetadataRequest
Source§impl<'de> Deserialize<'de> for SearchMetadataRequest
impl<'de> Deserialize<'de> for SearchMetadataRequest
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 From<SearchMetadataRequest> for Builder<Complete>
impl From<SearchMetadataRequest> for Builder<Complete>
Source§fn from(v: SearchMetadataRequest) -> Self
fn from(v: SearchMetadataRequest) -> Self
Converts to this type from the input type.
Source§impl Hash for SearchMetadataRequest
impl Hash for SearchMetadataRequest
Source§impl Ord for SearchMetadataRequest
impl Ord for SearchMetadataRequest
Source§fn cmp(&self, other: &SearchMetadataRequest) -> Ordering
fn cmp(&self, other: &SearchMetadataRequest) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SearchMetadataRequest
impl PartialEq for SearchMetadataRequest
Source§impl PartialOrd for SearchMetadataRequest
impl PartialOrd for SearchMetadataRequest
Source§impl Serialize for SearchMetadataRequest
impl Serialize for SearchMetadataRequest
impl Eq for SearchMetadataRequest
impl StructuralPartialEq for SearchMetadataRequest
Auto Trait Implementations§
impl Freeze for SearchMetadataRequest
impl RefUnwindSafe for SearchMetadataRequest
impl Send for SearchMetadataRequest
impl Sync for SearchMetadataRequest
impl Unpin for SearchMetadataRequest
impl UnsafeUnpin for SearchMetadataRequest
impl UnwindSafe for SearchMetadataRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request