pub struct ListConversationsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub view: i32,
}
Expand description
Request to list conversations.
Fields§
§parent: String
Required. The parent resource of the conversation.
page_size: i32
The maximum number of conversations to return in the response. A valid page size ranges from 0 to 1,000 inclusive. If the page size is zero or unspecified, a default page size of 100 will be chosen. Note that a call might return fewer results than the requested page size.
page_token: String
The value returned by the last ListConversationsResponse
. This value
indicates that this is a continuation of a prior ListConversations
call
and that the system should return the next page of data.
filter: String
A filter to reduce results to a specific subset. Useful for querying conversations with specific properties.
view: i32
The level of details of the conversation. Default is BASIC
.
Implementations§
source§impl ListConversationsRequest
impl ListConversationsRequest
sourcepub fn view(&self) -> ConversationView
pub fn view(&self) -> ConversationView
Returns the enum value of view
, or the default if the field is set to an invalid enum value.
sourcepub fn set_view(&mut self, value: ConversationView)
pub fn set_view(&mut self, value: ConversationView)
Sets view
to the provided enum value.
Trait Implementations§
source§impl Clone for ListConversationsRequest
impl Clone for ListConversationsRequest
source§fn clone(&self) -> ListConversationsRequest
fn clone(&self) -> ListConversationsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListConversationsRequest
impl Debug for ListConversationsRequest
source§impl Default for ListConversationsRequest
impl Default for ListConversationsRequest
source§impl Message for ListConversationsRequest
impl Message for ListConversationsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListConversationsRequest
impl PartialEq for ListConversationsRequest
source§fn eq(&self, other: &ListConversationsRequest) -> bool
fn eq(&self, other: &ListConversationsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListConversationsRequest
Auto Trait Implementations§
impl Freeze for ListConversationsRequest
impl RefUnwindSafe for ListConversationsRequest
impl Send for ListConversationsRequest
impl Sync for ListConversationsRequest
impl Unpin for ListConversationsRequest
impl UnwindSafe for ListConversationsRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
T
in a tonic::Request