pub struct FreeswitchVersion { /* private fields */ }Expand description
A FreeSWITCH version in its short form, 1.10.12 or 1.10.13-dev.
Supplied by the application from its own configuration; nothing in this
crate reads it from the FreeSWITCH-Version event header.
Implementations§
Trait Implementations§
Source§impl Clone for FreeswitchVersion
impl Clone for FreeswitchVersion
Source§fn clone(&self) -> FreeswitchVersion
fn clone(&self) -> FreeswitchVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FreeswitchVersion
Source§impl Debug for FreeswitchVersion
impl Debug for FreeswitchVersion
Source§impl<'de> Deserialize<'de> for FreeswitchVersion
Available on crate feature serde only.
impl<'de> Deserialize<'de> for FreeswitchVersion
Available on crate feature
serde only.Source§fn 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
Source§impl Display for FreeswitchVersion
impl Display for FreeswitchVersion
impl Eq for FreeswitchVersion
Source§impl FromStr for FreeswitchVersion
impl FromStr for FreeswitchVersion
Source§impl Hash for FreeswitchVersion
impl Hash for FreeswitchVersion
Source§impl Ord for FreeswitchVersion
impl Ord for FreeswitchVersion
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FreeswitchVersion
impl PartialEq for FreeswitchVersion
Source§impl PartialOrd for FreeswitchVersion
impl PartialOrd for FreeswitchVersion
Source§impl Serialize for FreeswitchVersion
Available on crate feature serde only.
impl Serialize for FreeswitchVersion
Available on crate feature
serde only.impl StructuralPartialEq for FreeswitchVersion
Auto Trait Implementations§
impl Freeze for FreeswitchVersion
impl RefUnwindSafe for FreeswitchVersion
impl Send for FreeswitchVersion
impl Sync for FreeswitchVersion
impl Unpin for FreeswitchVersion
impl UnsafeUnpin for FreeswitchVersion
impl UnwindSafe for FreeswitchVersion
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.