Struct k8s_openapi::ByteString
source · pub struct ByteString(pub Vec<u8>);
Expand description
A wrapper around a list of bytes.
Used in Kubernetes types whose JSON representation uses a base64-encoded string for a list of bytes.
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
source§impl Clone for ByteString
impl Clone for ByteString
source§fn clone(&self) -> ByteString
fn clone(&self) -> ByteString
Returns a copy of the value. Read more
1.0.0 · 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 ByteString
impl Debug for ByteString
source§impl DeepMerge for ByteString
impl DeepMerge for ByteString
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for ByteString
impl Default for ByteString
source§fn default() -> ByteString
fn default() -> ByteString
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ByteString
impl<'de> Deserialize<'de> for ByteString
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for ByteString
impl Ord for ByteString
source§fn cmp(&self, other: &ByteString) -> Ordering
fn cmp(&self, other: &ByteString) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ByteString
impl PartialEq for ByteString
source§impl PartialOrd for ByteString
impl PartialOrd for ByteString
source§impl Serialize for ByteString
impl Serialize for ByteString
impl Eq for ByteString
impl StructuralPartialEq for ByteString
Auto Trait Implementations§
impl Freeze for ByteString
impl RefUnwindSafe for ByteString
impl Send for ByteString
impl Sync for ByteString
impl Unpin for ByteString
impl UnwindSafe for ByteString
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.