pub struct MessageOutputEntry {
pub object: Option<Object>,
pub type: Option<Type>,
pub created_at: Option<String>,
pub completed_at: Option<Option<String>>,
pub agent_id: Option<Option<String>>,
pub model: Option<Option<String>>,
pub id: Option<String>,
pub role: Option<Role>,
pub content: Box<Content1>,
}Fields§
§object: Option<Object>§type: Option<Type>§created_at: Option<String>§completed_at: Option<Option<String>>§agent_id: Option<Option<String>>§model: Option<Option<String>>§id: Option<String>§role: Option<Role>§content: Box<Content1>Implementations§
Source§impl MessageOutputEntry
impl MessageOutputEntry
pub fn new(content: Content1) -> MessageOutputEntry
Trait Implementations§
Source§impl Clone for MessageOutputEntry
impl Clone for MessageOutputEntry
Source§fn clone(&self) -> MessageOutputEntry
fn clone(&self) -> MessageOutputEntry
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 Debug for MessageOutputEntry
impl Debug for MessageOutputEntry
Source§impl Default for MessageOutputEntry
impl Default for MessageOutputEntry
Source§fn default() -> MessageOutputEntry
fn default() -> MessageOutputEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageOutputEntry
impl<'de> Deserialize<'de> for MessageOutputEntry
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 MessageOutputEntry
impl PartialEq for MessageOutputEntry
Source§impl Serialize for MessageOutputEntry
impl Serialize for MessageOutputEntry
impl StructuralPartialEq for MessageOutputEntry
Auto Trait Implementations§
impl Freeze for MessageOutputEntry
impl RefUnwindSafe for MessageOutputEntry
impl Send for MessageOutputEntry
impl Sync for MessageOutputEntry
impl Unpin for MessageOutputEntry
impl UnsafeUnpin for MessageOutputEntry
impl UnwindSafe for MessageOutputEntry
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