pub struct ModerationTextInput {
pub text: String,
}
Expand description
An object describing text to classify.
Fields§
§text: String
A string of text to classify.
Implementations§
Trait Implementations§
Source§impl Clone for ModerationTextInput
impl Clone for ModerationTextInput
Source§fn clone(&self) -> ModerationTextInput
fn clone(&self) -> ModerationTextInput
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 ModerationTextInput
impl Debug for ModerationTextInput
Source§impl<'de> Deserialize<'de> for ModerationTextInput
impl<'de> Deserialize<'de> for ModerationTextInput
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 ModerationTextInput
impl PartialEq for ModerationTextInput
Source§impl Serialize for ModerationTextInput
impl Serialize for ModerationTextInput
impl StructuralPartialEq for ModerationTextInput
Auto Trait Implementations§
impl Freeze for ModerationTextInput
impl RefUnwindSafe for ModerationTextInput
impl Send for ModerationTextInput
impl Sync for ModerationTextInput
impl Unpin for ModerationTextInput
impl UnwindSafe for ModerationTextInput
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