Struct macaroon::ByteString
source · [−]Tuple Fields
0: Vec<u8>
Trait Implementations
sourceimpl AsRef<[u8]> for ByteString
impl AsRef<[u8]> for ByteString
sourceimpl Clone for ByteString
impl Clone for ByteString
sourcefn clone(&self) -> ByteString
fn clone(&self) -> ByteString
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ByteString
impl Debug for ByteString
sourceimpl Default for ByteString
impl Default for ByteString
sourcefn default() -> ByteString
fn default() -> ByteString
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ByteString
impl<'de> Deserialize<'de> for ByteString
sourcefn deserialize<D>(deserializer: D) -> Result<ByteString, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<ByteString, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for ByteString
impl Display for ByteString
sourceimpl From<&[u8]> for ByteString
impl From<&[u8]> for ByteString
sourcefn from(s: &[u8]) -> ByteString
fn from(s: &[u8]) -> ByteString
Converts to this type from the input type.
sourceimpl From<&str> for ByteString
impl From<&str> for ByteString
sourcefn from(s: &str) -> ByteString
fn from(s: &str) -> ByteString
Converts to this type from the input type.
sourceimpl From<[u8; 32]> for ByteString
impl From<[u8; 32]> for ByteString
sourcefn from(b: [u8; 32]) -> ByteString
fn from(b: [u8; 32]) -> ByteString
Converts to this type from the input type.
sourceimpl From<MacaroonKey> for ByteString
impl From<MacaroonKey> for ByteString
sourcefn from(k: MacaroonKey) -> ByteString
fn from(k: MacaroonKey) -> ByteString
Converts to this type from the input type.
sourceimpl From<String> for ByteString
impl From<String> for ByteString
sourcefn from(s: String) -> ByteString
fn from(s: String) -> ByteString
Converts to this type from the input type.
sourceimpl From<Vec<u8, Global>> for ByteString
impl From<Vec<u8, Global>> for ByteString
sourcefn from(v: Vec<u8>) -> ByteString
fn from(v: Vec<u8>) -> ByteString
Converts to this type from the input type.
sourceimpl Hash for ByteString
impl Hash for ByteString
sourceimpl Ord for ByteString
impl Ord for ByteString
sourcefn cmp(&self, other: &ByteString) -> Ordering
fn cmp(&self, other: &ByteString) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Self
const fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Self
const fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ByteString> for ByteString
impl PartialEq<ByteString> for ByteString
sourcefn eq(&self, other: &ByteString) -> bool
fn eq(&self, other: &ByteString) -> bool
sourceimpl PartialOrd<ByteString> for ByteString
impl PartialOrd<ByteString> for ByteString
sourcefn partial_cmp(&self, other: &ByteString) -> Option<Ordering>
fn partial_cmp(&self, other: &ByteString) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for ByteString
impl Serialize for ByteString
impl Eq for ByteString
impl StructuralEq for ByteString
impl StructuralPartialEq for ByteString
Auto Trait Implementations
impl RefUnwindSafe for ByteString
impl Send for ByteString
impl Sync for ByteString
impl Unpin for ByteString
impl UnwindSafe for ByteString
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more