pub struct LogoOptions {
pub width: Option<u32>,
pub height: Option<u32>,
pub bg: Option<String>,
}Expand description
Options for logo requests.
Fields§
§width: Option<u32>Output width in pixels
height: Option<u32>Output height in pixels (defaults to width)
bg: Option<String>Background hex color without # (e.g., “FFFFFF”)
Trait Implementations§
Source§impl Clone for LogoOptions
impl Clone for LogoOptions
Source§fn clone(&self) -> LogoOptions
fn clone(&self) -> LogoOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogoOptions
impl Debug for LogoOptions
Source§impl Default for LogoOptions
impl Default for LogoOptions
Source§fn default() -> LogoOptions
fn default() -> LogoOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LogoOptions
impl RefUnwindSafe for LogoOptions
impl Send for LogoOptions
impl Sync for LogoOptions
impl Unpin for LogoOptions
impl UnsafeUnpin for LogoOptions
impl UnwindSafe for LogoOptions
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