Struct kanidm_proto::internal::ImageValue
source · pub struct ImageValue {
pub filename: String,
pub filetype: ImageType,
pub contents: Vec<u8>,
}
Fields§
§filename: String
§filetype: ImageType
§contents: Vec<u8>
Implementations§
Trait Implementations§
source§impl Clone for ImageValue
impl Clone for ImageValue
source§fn clone(&self) -> ImageValue
fn clone(&self) -> ImageValue
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 ImageValue
impl Debug for ImageValue
source§impl<'de> Deserialize<'de> for ImageValue
impl<'de> Deserialize<'de> for ImageValue
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 Hash for ImageValue
impl Hash for ImageValue
source§impl Ord for ImageValue
impl Ord for ImageValue
source§fn cmp(&self, other: &ImageValue) -> Ordering
fn cmp(&self, other: &ImageValue) -> 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 ImageValue
impl PartialEq for ImageValue
source§impl PartialOrd for ImageValue
impl PartialOrd for ImageValue
source§impl Serialize for ImageValue
impl Serialize for ImageValue
source§impl TryFrom<&str> for ImageValue
impl TryFrom<&str> for ImageValue
impl Eq for ImageValue
impl StructuralPartialEq for ImageValue
Auto Trait Implementations§
impl Freeze for ImageValue
impl RefUnwindSafe for ImageValue
impl Send for ImageValue
impl Sync for ImageValue
impl Unpin for ImageValue
impl UnwindSafe for ImageValue
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.