pub struct APIMessage {
pub content: String,
}
Expand description
Represents a single API message returned as part of a response.
§Fields
content
: The content of the message provided by the API.
Fields§
§content: String
Trait Implementations§
source§impl Debug for APIMessage
impl Debug for APIMessage
source§impl<'de> Deserialize<'de> for APIMessage
impl<'de> Deserialize<'de> for APIMessage
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 APIMessage
impl RefUnwindSafe for APIMessage
impl Send for APIMessage
impl Sync for APIMessage
impl Unpin for APIMessage
impl UnwindSafe for APIMessage
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