#[non_exhaustive]pub struct ConversationGetInput {
pub org: Option<String>,
pub namespace: Option<String>,
pub agent: Option<String>,
pub thread_id: String,
pub include_messages: Option<bool>,
pub limit: Option<Integer>,
pub offset: Option<Integer>,
pub order: Option<ConversationGetInputOrder>,
}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.org: Option<String>§namespace: Option<String>§agent: Option<String>§thread_id: String§include_messages: Option<bool>§limit: Option<Integer>§offset: Option<Integer>§order: Option<ConversationGetInputOrder>Implementations§
Source§impl ConversationGetInput
impl ConversationGetInput
pub fn new(thread_id: impl Into<String>) -> Self
pub fn org(self, org: impl Into<String>) -> Self
pub fn namespace(self, namespace: impl Into<String>) -> Self
pub fn agent(self, agent: impl Into<String>) -> Self
pub fn include_messages(self, include_messages: bool) -> Self
pub fn limit(self, limit: impl Into<Integer>) -> Self
pub fn offset(self, offset: impl Into<Integer>) -> Self
pub fn order(self, order: ConversationGetInputOrder) -> Self
pub async fn send( self, client: &Client, options: CallOptions, ) -> Result<CallResult<ConversationGetOutput>, CallFailure>
Trait Implementations§
Source§impl Clone for ConversationGetInput
impl Clone for ConversationGetInput
Source§impl Debug for ConversationGetInput
impl Debug for ConversationGetInput
Source§impl<'de> Deserialize<'de> for ConversationGetInput
impl<'de> Deserialize<'de> for ConversationGetInput
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 PartialEq for ConversationGetInput
impl PartialEq for ConversationGetInput
Source§impl Serialize for ConversationGetInput
impl Serialize for ConversationGetInput
impl StructuralPartialEq for ConversationGetInput
Auto Trait Implementations§
impl Forget for ConversationGetInput
impl Freeze for ConversationGetInput
impl Move for ConversationGetInput
impl RefUnwindSafe for ConversationGetInput
impl Send for ConversationGetInput
impl Sync for ConversationGetInput
impl Unpin for ConversationGetInput
impl UnsafeUnpin for ConversationGetInput
impl UnwindSafe for ConversationGetInput
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