pub struct Version(/* private fields */);Expand description
File version.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Version
Available on crate feature serde only.
impl<'de> Deserialize<'de> for Version
Available on crate feature
serde only.Source§fn deserialize<D: Deserializer<'de>>(
deserializer: D,
) -> StdResult<Self, D::Error>
fn deserialize<D: Deserializer<'de>>( deserializer: D, ) -> StdResult<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for Version
impl Ord for Version
Source§impl PartialOrd for Version
impl PartialOrd for Version
Source§impl SerializeWithInterner for Version
Available on crate feature serde only.
impl SerializeWithInterner for Version
Available on crate feature
serde only.Source§fn serialize_with_interner<S: Serializer>(
&self,
serializer: S,
_: &Interner,
) -> Result<S::Ok, S::Error>
fn serialize_with_interner<S: Serializer>( &self, serializer: S, _: &Interner, ) -> Result<S::Ok, S::Error>
Source§fn with_interner<'si>(
&self,
interner: &'si Interner,
) -> WithInterner<'si, &Self>
fn with_interner<'si>( &self, interner: &'si Interner, ) -> WithInterner<'si, &Self>
Adorns this object with a string interner. Read more
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
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