#[non_exhaustive]pub struct ListFeaturesResponse {
pub features: Vec<Feature>,
pub next_page_token: String,
/* private fields */
}Available on crate features
feature-registry-service or featurestore-service only.Expand description
Response message for FeaturestoreService.ListFeatures. Response message for FeatureRegistryService.ListFeatures.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.features: Vec<Feature>The Features matching the request.
next_page_token: StringA token, which can be sent as ListFeaturesRequest.page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
Implementations§
Source§impl ListFeaturesResponse
impl ListFeaturesResponse
pub fn new() -> Self
Sourcepub fn set_features<T, V>(self, v: T) -> Self
pub fn set_features<T, V>(self, v: T) -> Self
Sourcepub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_next_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of next_page_token.
§Example
ⓘ
let x = ListFeaturesResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListFeaturesResponse
impl Clone for ListFeaturesResponse
Source§fn clone(&self) -> ListFeaturesResponse
fn clone(&self) -> ListFeaturesResponse
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 ListFeaturesResponse
impl Debug for ListFeaturesResponse
Source§impl Default for ListFeaturesResponse
impl Default for ListFeaturesResponse
Source§fn default() -> ListFeaturesResponse
fn default() -> ListFeaturesResponse
Returns the “default value” for a type. Read more
Source§impl Message for ListFeaturesResponse
impl Message for ListFeaturesResponse
Source§impl PartialEq for ListFeaturesResponse
impl PartialEq for ListFeaturesResponse
impl StructuralPartialEq for ListFeaturesResponse
Auto Trait Implementations§
impl Freeze for ListFeaturesResponse
impl RefUnwindSafe for ListFeaturesResponse
impl Send for ListFeaturesResponse
impl Sync for ListFeaturesResponse
impl Unpin for ListFeaturesResponse
impl UnwindSafe for ListFeaturesResponse
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