pub struct GetImageQrcodeParams {
pub text_query: String,
pub size_query: Option<String>,
pub format_query: Option<String>,
pub transparent_query: Option<String>,
pub fgcolor_query: Option<String>,
pub bgcolor_query: Option<String>,
}Fields§
§text_query: String§size_query: Option<String>§format_query: Option<String>§transparent_query: Option<String>§fgcolor_query: Option<String>§bgcolor_query: Option<String>Implementations§
Source§impl GetImageQrcodeParams
impl GetImageQrcodeParams
pub fn new(text_query: impl Into<String>) -> Self
pub fn size_query(self, value: impl Into<String>) -> Self
pub fn format_query(self, value: impl Into<String>) -> Self
pub fn transparent_query(self, value: impl Into<String>) -> Self
pub fn fgcolor_query(self, value: impl Into<String>) -> Self
pub fn bgcolor_query(self, value: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for GetImageQrcodeParams
impl Clone for GetImageQrcodeParams
Source§fn clone(&self) -> GetImageQrcodeParams
fn clone(&self) -> GetImageQrcodeParams
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 GetImageQrcodeParams
impl RefUnwindSafe for GetImageQrcodeParams
impl Send for GetImageQrcodeParams
impl Sync for GetImageQrcodeParams
impl Unpin for GetImageQrcodeParams
impl UnsafeUnpin for GetImageQrcodeParams
impl UnwindSafe for GetImageQrcodeParams
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