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