#[non_exhaustive]pub struct ListConversationProfilesResponse {
pub conversation_profiles: Vec<ConversationProfile>,
pub next_page_token: String,
/* private fields */
}Available on crate feature
conversation-profiles only.Expand description
The response message for ConversationProfiles.ListConversationProfiles.
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.conversation_profiles: Vec<ConversationProfile>The list of project conversation profiles. There is a maximum number of items returned based on the page_size field in the request.
next_page_token: StringToken to retrieve the next page of results, or empty if there are no more results in the list.
Implementations§
Source§impl ListConversationProfilesResponse
impl ListConversationProfilesResponse
pub fn new() -> Self
Sourcepub fn set_conversation_profiles<T, V>(self, v: T) -> Self
pub fn set_conversation_profiles<T, V>(self, v: T) -> Self
Sets the value of conversation_profiles.
§Example
ⓘ
use google_cloud_dialogflow_v2::model::ConversationProfile;
let x = ListConversationProfilesResponse::new()
.set_conversation_profiles([
ConversationProfile::default()/* use setters */,
ConversationProfile::default()/* use (different) setters */,
]);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 = ListConversationProfilesResponse::new().set_next_page_token("example");Trait Implementations§
Source§impl Clone for ListConversationProfilesResponse
impl Clone for ListConversationProfilesResponse
Source§fn clone(&self) -> ListConversationProfilesResponse
fn clone(&self) -> ListConversationProfilesResponse
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 Default for ListConversationProfilesResponse
impl Default for ListConversationProfilesResponse
Source§fn default() -> ListConversationProfilesResponse
fn default() -> ListConversationProfilesResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListConversationProfilesResponse
impl PartialEq for ListConversationProfilesResponse
Source§fn eq(&self, other: &ListConversationProfilesResponse) -> bool
fn eq(&self, other: &ListConversationProfilesResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListConversationProfilesResponse
Auto Trait Implementations§
impl Freeze for ListConversationProfilesResponse
impl RefUnwindSafe for ListConversationProfilesResponse
impl Send for ListConversationProfilesResponse
impl Sync for ListConversationProfilesResponse
impl Unpin for ListConversationProfilesResponse
impl UnwindSafe for ListConversationProfilesResponse
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