pub struct GetRandomImageParams {
pub category_query: Option<String>,
pub type_query: Option<String>,
}Fields§
§category_query: Option<String>§type_query: Option<String>Implementations§
Source§impl GetRandomImageParams
impl GetRandomImageParams
pub fn new() -> Self
pub fn category_query(self, value: impl Into<String>) -> Self
pub fn type_query(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetRandomImageParams
impl Clone for GetRandomImageParams
Source§fn clone(&self) -> GetRandomImageParams
fn clone(&self) -> GetRandomImageParams
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 moreAuto Trait Implementations§
impl Freeze for GetRandomImageParams
impl RefUnwindSafe for GetRandomImageParams
impl Send for GetRandomImageParams
impl Sync for GetRandomImageParams
impl Unpin for GetRandomImageParams
impl UnwindSafe for GetRandomImageParams
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