Struct vsdb::VersionNameOwned
source · pub struct VersionNameOwned(pub Vec<u8, Global>);Tuple Fields§
§0: Vec<u8, Global>Implementations§
source§impl VersionNameOwned
impl VersionNameOwned
pub fn as_deref(&self) -> VersionName<'_>
Trait Implementations§
source§impl Clone for VersionNameOwned
impl Clone for VersionNameOwned
source§fn clone(&self) -> VersionNameOwned
fn clone(&self) -> VersionNameOwned
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 VersionNameOwned
impl Debug for VersionNameOwned
source§impl Default for VersionNameOwned
impl Default for VersionNameOwned
source§fn default() -> VersionNameOwned
fn default() -> VersionNameOwned
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for VersionNameOwned
impl<'de> Deserialize<'de> for VersionNameOwned
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<VersionNameOwned, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<VersionNameOwned, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> From<&'a VersionNameOwned> for VersionName<'a>
impl<'a> From<&'a VersionNameOwned> for VersionName<'a>
source§fn from(b: &'a VersionNameOwned) -> VersionName<'a>
fn from(b: &'a VersionNameOwned) -> VersionName<'a>
Converts to this type from the input type.
source§impl From<VersionName<'_>> for VersionNameOwned
impl From<VersionName<'_>> for VersionNameOwned
source§fn from(b: VersionName<'_>) -> VersionNameOwned
fn from(b: VersionName<'_>) -> VersionNameOwned
Converts to this type from the input type.
source§impl PartialEq<VersionNameOwned> for VersionNameOwned
impl PartialEq<VersionNameOwned> for VersionNameOwned
source§fn eq(&self, other: &VersionNameOwned) -> bool
fn eq(&self, other: &VersionNameOwned) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for VersionNameOwned
impl Serialize for VersionNameOwned
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for VersionNameOwned
impl StructuralEq for VersionNameOwned
impl StructuralPartialEq for VersionNameOwned
Auto Trait Implementations§
impl RefUnwindSafe for VersionNameOwned
impl Send for VersionNameOwned
impl Sync for VersionNameOwned
impl Unpin for VersionNameOwned
impl UnwindSafe for VersionNameOwned
Blanket Implementations§
source§impl<T> KeyDe for Twhere
T: DeserializeOwned,
impl<T> KeyDe for Twhere T: DeserializeOwned,
source§fn decode_key(bytes: &[u8]) -> Result<Self>
fn decode_key(bytes: &[u8]) -> Result<Self>
Decode from bytes to the original key type.
source§impl<T> KeyEn for Twhere
T: Serialize,
impl<T> KeyEn for Twhere T: Serialize,
source§fn try_encode_key(&self) -> Result<RawBytes>
fn try_encode_key(&self) -> Result<RawBytes>
Encode original key type to bytes.
fn encode_key(&self) -> RawBytes
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ValueDe for Twhere
T: DeserializeOwned,
impl<T> ValueDe for Twhere T: DeserializeOwned,
source§fn decode_value(bytes: &[u8]) -> Result<Self>
fn decode_value(bytes: &[u8]) -> Result<Self>
Decode from bytes to the original key type.
source§impl<T> ValueEn for Twhere
T: Serialize,
impl<T> ValueEn for Twhere T: Serialize,
source§fn try_encode_value(&self) -> Result<RawBytes>
fn try_encode_value(&self) -> Result<RawBytes>
Encode original key type to bytes.