Struct Base64Binary

Source
pub struct Base64Binary(/* private fields */);

Implementations§

Source§

impl Base64Binary

Source

pub fn new(bytes: &[u8]) -> &Self

Source

pub fn new_mut(bytes: &mut [u8]) -> &mut Self

Source

pub fn chars(&self) -> Chars<'_>

Source

pub fn as_bytes(&self) -> &[u8]

Trait Implementations§

Source§

impl AsRef<Base64Binary> for Base64BinaryBuf

Source§

fn as_ref(&self) -> &Base64Binary

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Borrow<Base64Binary> for Base64BinaryBuf

Source§

fn borrow(&self) -> &Base64Binary

Immutably borrows from an owned value. Read more
Source§

impl Debug for Base64Binary

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Base64Binary

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a> From<&'a [u8]> for &'a Base64Binary

Source§

fn from(value: &'a [u8]) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<&'a mut [u8]> for &'a Base64Binary

Source§

fn from(value: &'a mut [u8]) -> Self

Converts to this type from the input type.
Source§

impl<'a> From<&'a mut [u8]> for &'a mut Base64Binary

Source§

fn from(value: &'a mut [u8]) -> Self

Converts to this type from the input type.
Source§

impl Hash for Base64Binary

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
Source§

impl Ord for Base64Binary

Source§

fn cmp(&self, other: &Base64Binary) -> Ordering

This method returns an Ordering between self and other. Read more
Source§

impl PartialEq for Base64Binary

Source§

fn eq(&self, other: &Base64Binary) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Base64Binary

Source§

fn partial_cmp(&self, other: &Base64Binary) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl ToOwned for Base64Binary

Source§

type Owned = Base64BinaryBuf

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> Self::Owned

Creates owned data from borrowed data, usually by cloning. Read more
1.63.0 · Source§

fn clone_into(&self, target: &mut Self::Owned)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl XsdValue for Base64Binary

Source§

fn datatype(&self) -> Datatype

Returns the XSD datatype that best describes the value.
Source§

impl Eq for Base64Binary

Source§

impl StructuralPartialEq for Base64Binary

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more