pub enum FunctionResultSubcontentType {
Text(TextContent),
Image(ImageContent),
}Expand description
The type oneof of FunctionResultSubcontent, as an owned value.
Variants§
Text(TextContent)
Image(ImageContent)
Trait Implementations§
Source§impl Clone for FunctionResultSubcontentType
impl Clone for FunctionResultSubcontentType
Source§fn clone(&self) -> FunctionResultSubcontentType
fn clone(&self) -> FunctionResultSubcontentType
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 FunctionResultSubcontentType
impl Debug for FunctionResultSubcontentType
impl StructuralPartialEq for FunctionResultSubcontentType
Auto Trait Implementations§
impl Freeze for FunctionResultSubcontentType
impl RefUnwindSafe for FunctionResultSubcontentType
impl Send for FunctionResultSubcontentType
impl Sync for FunctionResultSubcontentType
impl Unpin for FunctionResultSubcontentType
impl UnsafeUnpin for FunctionResultSubcontentType
impl UnwindSafe for FunctionResultSubcontentType
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