#[non_exhaustive]pub struct ReasoningItemContentText {
pub text: String,
pub rest: Rest,
}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.text: String§rest: RestImplementations§
Source§impl ReasoningItemContentText
impl ReasoningItemContentText
Sourcepub fn builder(text: String) -> ReasoningItemContentTextBuilder
pub fn builder(text: String) -> ReasoningItemContentTextBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for ReasoningItemContentText
impl Clone for ReasoningItemContentText
Source§impl Debug for ReasoningItemContentText
impl Debug for ReasoningItemContentText
Source§impl DeclaredFields for ReasoningItemContentText
impl DeclaredFields for ReasoningItemContentText
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for ReasoningItemContentText
impl<'de> Deserialize<'de> for ReasoningItemContentText
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 ReasoningItemContentText
impl PartialEq for ReasoningItemContentText
Source§impl Serialize for ReasoningItemContentText
impl Serialize for ReasoningItemContentText
impl StructuralPartialEq for ReasoningItemContentText
Auto Trait Implementations§
impl Freeze for ReasoningItemContentText
impl RefUnwindSafe for ReasoningItemContentText
impl Send for ReasoningItemContentText
impl Sync for ReasoningItemContentText
impl Unpin for ReasoningItemContentText
impl UnsafeUnpin for ReasoningItemContentText
impl UnwindSafe for ReasoningItemContentText
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