pub struct AgentConversationVariables { /* private fields */ }Expand description
Closed custom variables accepted by the slide conversation endpoint.
Implementations§
Source§impl AgentConversationVariables
impl AgentConversationVariables
Sourcepub const fn with_include_pdf(self, include_pdf: bool) -> Self
pub const fn with_include_pdf(self, include_pdf: bool) -> Self
Configure whether a PDF export is included.
Sourcepub fn with_pages(self, pages: impl IntoIterator<Item = AgentSlidePage>) -> Self
pub fn with_pages(self, pages: impl IntoIterator<Item = AgentSlidePage>) -> Self
Configure slide page descriptors.
Sourcepub const fn include_pdf(&self) -> Option<bool>
pub const fn include_pdf(&self) -> Option<bool>
Return the configured PDF flag.
Sourcepub fn pages(&self) -> Option<&[AgentSlidePage]>
pub fn pages(&self) -> Option<&[AgentSlidePage]>
Borrow configured page descriptors.
Trait Implementations§
Source§impl Clone for AgentConversationVariables
impl Clone for AgentConversationVariables
Source§fn clone(&self) -> AgentConversationVariables
fn clone(&self) -> AgentConversationVariables
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentConversationVariables
impl Debug for AgentConversationVariables
Source§impl Default for AgentConversationVariables
impl Default for AgentConversationVariables
Source§fn default() -> AgentConversationVariables
fn default() -> AgentConversationVariables
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentConversationVariables
impl<'de> Deserialize<'de> for AgentConversationVariables
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
Auto Trait Implementations§
impl Freeze for AgentConversationVariables
impl RefUnwindSafe for AgentConversationVariables
impl Send for AgentConversationVariables
impl Sync for AgentConversationVariables
impl Unpin for AgentConversationVariables
impl UnsafeUnpin for AgentConversationVariables
impl UnwindSafe for AgentConversationVariables
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