Struct chris::api::PluginVersionRef
source · [−]#[repr(transparent)]pub struct PluginVersionRef(_);Expand description
A reference to a borrowed PluginVersion
Implementations
sourceimpl PluginVersionRef
impl PluginVersionRef
sourcepub fn from_str(raw: &str) -> &Self
pub fn from_str(raw: &str) -> &Self
Transparently reinterprets the string slice as a strongly-typed PluginVersionRef
sourcepub fn into_owned(self: Box<PluginVersionRef>) -> PluginVersion
pub fn into_owned(self: Box<PluginVersionRef>) -> PluginVersion
Converts a Box<PluginVersionRef> into a PluginVersion without copying or allocating
Trait Implementations
sourceimpl AsRef<PluginVersionRef> for PluginVersion
impl AsRef<PluginVersionRef> for PluginVersion
sourcefn as_ref(&self) -> &PluginVersionRef
fn as_ref(&self) -> &PluginVersionRef
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl AsRef<str> for PluginVersionRef
impl AsRef<str> for PluginVersionRef
sourceimpl Borrow<PluginVersionRef> for PluginVersion
impl Borrow<PluginVersionRef> for PluginVersion
sourcefn borrow(&self) -> &PluginVersionRef
fn borrow(&self) -> &PluginVersionRef
Immutably borrows from an owned value. Read more
sourceimpl Borrow<str> for PluginVersionRef
impl Borrow<str> for PluginVersionRef
sourceimpl Debug for PluginVersionRef
impl Debug for PluginVersionRef
sourceimpl<'de: 'a, 'a> Deserialize<'de> for &'a PluginVersionRef
impl<'de: 'a, 'a> Deserialize<'de> for &'a PluginVersionRef
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for PluginVersionRef
impl Display for PluginVersionRef
sourceimpl From<&'_ PluginVersionRef> for PluginVersion
impl From<&'_ PluginVersionRef> for PluginVersion
sourcefn from(s: &PluginVersionRef) -> Self
fn from(s: &PluginVersionRef) -> Self
Converts to this type from the input type.
sourceimpl<'a, 'b: 'a> From<&'a Cow<'b, PluginVersionRef>> for &'a PluginVersionRef
impl<'a, 'b: 'a> From<&'a Cow<'b, PluginVersionRef>> for &'a PluginVersionRef
sourcefn from(r: &'a Cow<'b, PluginVersionRef>) -> &'a PluginVersionRef
fn from(r: &'a Cow<'b, PluginVersionRef>) -> &'a PluginVersionRef
Converts to this type from the input type.
sourceimpl<'a> From<&'a PluginVersionRef> for Cow<'a, PluginVersionRef>
impl<'a> From<&'a PluginVersionRef> for Cow<'a, PluginVersionRef>
sourcefn from(r: &'a PluginVersionRef) -> Self
fn from(r: &'a PluginVersionRef) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a str> for &'a PluginVersionRef
impl<'a> From<&'a str> for &'a PluginVersionRef
sourcefn from(s: &'a str) -> &'a PluginVersionRef
fn from(s: &'a str) -> &'a PluginVersionRef
Converts to this type from the input type.
sourceimpl Hash for PluginVersionRef
impl Hash for PluginVersionRef
sourceimpl PartialEq<&'_ PluginVersionRef> for PluginVersion
impl PartialEq<&'_ PluginVersionRef> for PluginVersion
sourceimpl PartialEq<&'_ PluginVersionRef> for PluginVersionRef
impl PartialEq<&'_ PluginVersionRef> for PluginVersionRef
sourceimpl PartialEq<&'_ PluginVersionRef> for Box<PluginVersionRef>
impl PartialEq<&'_ PluginVersionRef> for Box<PluginVersionRef>
sourceimpl PartialEq<Box<PluginVersionRef, Global>> for &PluginVersionRef
impl PartialEq<Box<PluginVersionRef, Global>> for &PluginVersionRef
sourceimpl PartialEq<Box<PluginVersionRef, Global>> for PluginVersionRef
impl PartialEq<Box<PluginVersionRef, Global>> for PluginVersionRef
sourceimpl PartialEq<PluginVersion> for PluginVersionRef
impl PartialEq<PluginVersion> for PluginVersionRef
sourceimpl PartialEq<PluginVersion> for &PluginVersionRef
impl PartialEq<PluginVersion> for &PluginVersionRef
sourceimpl PartialEq<PluginVersionRef> for PluginVersionRef
impl PartialEq<PluginVersionRef> for PluginVersionRef
sourceimpl PartialEq<PluginVersionRef> for PluginVersion
impl PartialEq<PluginVersionRef> for PluginVersion
sourceimpl PartialEq<PluginVersionRef> for &PluginVersionRef
impl PartialEq<PluginVersionRef> for &PluginVersionRef
sourceimpl Serialize for PluginVersionRef
impl Serialize for PluginVersionRef
sourceimpl ToOwned for PluginVersionRef
impl ToOwned for PluginVersionRef
type Owned = PluginVersion
type Owned = PluginVersion
The resulting type after obtaining ownership.
sourcefn to_owned(&self) -> Self::Owned
fn to_owned(&self) -> Self::Owned
Creates owned data from borrowed data, usually by cloning. Read more
sourcefn clone_into(&self, target: &mut Self::Owned)
fn clone_into(&self, target: &mut Self::Owned)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl Eq for PluginVersionRef
Auto Trait Implementations
impl RefUnwindSafe for PluginVersionRef
impl Send for PluginVersionRef
impl !Sized for PluginVersionRef
impl Sync for PluginVersionRef
impl Unpin for PluginVersionRef
impl UnwindSafe for PluginVersionRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.