#[repr(transparent)]pub struct QByteArrayBase64Option {
pub repr: u32,
}Expand description
This enum contains the options available for encoding and decoding Base64. Base64 is defined by RFC 4648.
An empty QFlags<QByteArrayBase64Option> will use the regular Base64 alphabet, called simply “base64”.
Fields§
§repr: u32Implementations§
Source§impl QByteArrayBase64Option
impl QByteArrayBase64Option
Sourcepub const Base64UrlEncoding: Self
pub const Base64UrlEncoding: Self
An alternate alphabet, called “base64url”, which replaces two characters in the alphabet to be more friendly to URLs.
Sourcepub const OmitTrailingEquals: Self
pub const OmitTrailingEquals: Self
Omits adding the padding equal signs at the end of the encoded data.
Trait Implementations§
Source§impl BitOr for QByteArrayBase64Option
impl BitOr for QByteArrayBase64Option
Source§impl Clone for QByteArrayBase64Option
impl Clone for QByteArrayBase64Option
Source§impl ExternType for QByteArrayBase64Option
impl ExternType for QByteArrayBase64Option
Source§impl PartialEq for QByteArrayBase64Option
impl PartialEq for QByteArrayBase64Option
Source§impl QFlag for QByteArrayBase64Option
impl QFlag for QByteArrayBase64Option
Source§type TypeId = (r, u, s, t, (), c, x, x, q, t, l, i, b, _1, (), Q, B, y, t, e, A, r, r, a, y, B, a, s, e, _6, _4, O, p, t, i, o, n, s)
type TypeId = (r, u, s, t, (), c, x, x, q, t, l, i, b, _1, (), Q, B, y, t, e, A, r, r, a, y, B, a, s, e, _6, _4, O, p, t, i, o, n, s)
A type-level representation of the C++ namespace and type name of this type’s
QFlags<T>. Read moreimpl Copy for QByteArrayBase64Option
impl Eq for QByteArrayBase64Option
impl StructuralPartialEq for QByteArrayBase64Option
Auto Trait Implementations§
impl Freeze for QByteArrayBase64Option
impl RefUnwindSafe for QByteArrayBase64Option
impl Send for QByteArrayBase64Option
impl Sync for QByteArrayBase64Option
impl Unpin for QByteArrayBase64Option
impl UnsafeUnpin for QByteArrayBase64Option
impl UnwindSafe for QByteArrayBase64Option
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