pub struct ModerationImageUrlInputImageUrl {
pub url: String,
}
Expand description
Contains either an image URL or a data URL for a base64 encoded image.
Fields§
§url: String
Either a URL of the image or the base64 encoded image data.
Implementations§
Trait Implementations§
Source§impl Clone for ModerationImageUrlInputImageUrl
impl Clone for ModerationImageUrlInputImageUrl
Source§fn clone(&self) -> ModerationImageUrlInputImageUrl
fn clone(&self) -> ModerationImageUrlInputImageUrl
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<'de> Deserialize<'de> for ModerationImageUrlInputImageUrl
impl<'de> Deserialize<'de> for ModerationImageUrlInputImageUrl
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 ModerationImageUrlInputImageUrl
impl PartialEq for ModerationImageUrlInputImageUrl
Source§fn eq(&self, other: &ModerationImageUrlInputImageUrl) -> bool
fn eq(&self, other: &ModerationImageUrlInputImageUrl) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ModerationImageUrlInputImageUrl
Auto Trait Implementations§
impl Freeze for ModerationImageUrlInputImageUrl
impl RefUnwindSafe for ModerationImageUrlInputImageUrl
impl Send for ModerationImageUrlInputImageUrl
impl Sync for ModerationImageUrlInputImageUrl
impl Unpin for ModerationImageUrlInputImageUrl
impl UnwindSafe for ModerationImageUrlInputImageUrl
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