Struct walle_core::util::OneBotBytes
source · Tuple Fields§
§0: Vec<u8>Trait Implementations§
source§impl Clone for OneBotBytes
impl Clone for OneBotBytes
source§fn clone(&self) -> OneBotBytes
fn clone(&self) -> OneBotBytes
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 OneBotBytes
impl Debug for OneBotBytes
source§impl<'de> Deserialize<'de> for OneBotBytes
impl<'de> Deserialize<'de> for OneBotBytes
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 From<&[u8]> for OneBotBytes
impl From<&[u8]> for OneBotBytes
source§impl From<OneBotBytes> for Value
impl From<OneBotBytes> for Value
source§fn from(v: OneBotBytes) -> Self
fn from(v: OneBotBytes) -> Self
Converts to this type from the input type.
source§impl PartialEq<OneBotBytes> for OneBotBytes
impl PartialEq<OneBotBytes> for OneBotBytes
source§fn eq(&self, other: &OneBotBytes) -> bool
fn eq(&self, other: &OneBotBytes) -> bool
source§impl Serialize for OneBotBytes
impl Serialize for OneBotBytes
source§impl<'a> TryAsMut<'a, &'a mut OneBotBytes> for Value
impl<'a> TryAsMut<'a, &'a mut OneBotBytes> for Value
fn _try_as_mut(&'a mut self) -> WalleResult<&'a mut OneBotBytes>
source§impl<'a> TryAsRef<'a, &'a OneBotBytes> for Value
impl<'a> TryAsRef<'a, &'a OneBotBytes> for Value
fn _try_as_ref(&'a self) -> WalleResult<&'a OneBotBytes>
source§impl TryFrom<Value> for OneBotBytes
impl TryFrom<Value> for OneBotBytes
json bytes could be String
impl Eq for OneBotBytes
impl StructuralEq for OneBotBytes
impl StructuralPartialEq for OneBotBytes
Auto Trait Implementations§
impl RefUnwindSafe for OneBotBytes
impl Send for OneBotBytes
impl Sync for OneBotBytes
impl Unpin for OneBotBytes
impl UnwindSafe for OneBotBytes
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.