pub struct QrOptions {
pub title: String,
pub subtitle_lines: Vec<String>,
pub footer: String,
pub border_width: usize,
}Expand description
QR code generation options
Fields§
§title: StringTitle to display above the QR code
subtitle_lines: Vec<String>Subtitle lines to display below the title
Footer message to display below the QR code
border_width: usizeWidth of the display border (in characters)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for QrOptions
impl RefUnwindSafe for QrOptions
impl Send for QrOptions
impl Sync for QrOptions
impl Unpin for QrOptions
impl UnwindSafe for QrOptions
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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