pub struct VersionedZoneId {
pub id: Uuid,
pub version: Option<i64>,
}Fields§
§id: Uuid§version: Option<i64>Implementations§
Source§impl VersionedZoneId
impl VersionedZoneId
pub fn new(id: Uuid) -> VersionedZoneId
Trait Implementations§
Source§impl Clone for VersionedZoneId
impl Clone for VersionedZoneId
Source§fn clone(&self) -> VersionedZoneId
fn clone(&self) -> VersionedZoneId
Returns a duplicate 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 VersionedZoneId
impl Debug for VersionedZoneId
Source§impl<'de> Deserialize<'de> for VersionedZoneId
impl<'de> Deserialize<'de> for VersionedZoneId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<VersionedZoneId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VersionedZoneId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VersionedZoneId
impl PartialEq for VersionedZoneId
Source§impl Serialize for VersionedZoneId
impl Serialize for VersionedZoneId
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 StructuralPartialEq for VersionedZoneId
Auto Trait Implementations§
impl Freeze for VersionedZoneId
impl RefUnwindSafe for VersionedZoneId
impl Send for VersionedZoneId
impl Sync for VersionedZoneId
impl Unpin for VersionedZoneId
impl UnwindSafe for VersionedZoneId
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