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