pub struct RemoveNameV0 {
pub name: String,
pub metadata: Vec<u8>,
}
Expand description
Remove a name from the repo, using ORset CRDT logic
DEPS: all the AddName commits seen for this name
Fields§
§name: String
name to remove
metadata: Vec<u8>
Metadata
Trait Implementations§
Source§impl Clone for RemoveNameV0
impl Clone for RemoveNameV0
Source§fn clone(&self) -> RemoveNameV0
fn clone(&self) -> RemoveNameV0
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 RemoveNameV0
impl Debug for RemoveNameV0
Source§impl<'de> Deserialize<'de> for RemoveNameV0
impl<'de> Deserialize<'de> for RemoveNameV0
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RemoveNameV0
impl PartialEq for RemoveNameV0
Source§impl Serialize for RemoveNameV0
impl Serialize for RemoveNameV0
impl Eq for RemoveNameV0
impl StructuralPartialEq for RemoveNameV0
Auto Trait Implementations§
impl Freeze for RemoveNameV0
impl RefUnwindSafe for RemoveNameV0
impl Send for RemoveNameV0
impl Sync for RemoveNameV0
impl Unpin for RemoveNameV0
impl UnwindSafe for RemoveNameV0
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