Enum noosphere_core::api::v0alpha1::ReplicationMode
source · pub enum ReplicationMode {
Cid(Cid),
Did(Did),
}Expand description
Allowed types in the route fragment for selecting a replication target.
Variants§
Cid(Cid)
Replicate by Cid; the specific version will be replicated
Did(Did)
Replicate by Did; gives up authority to the gateway to decide what version ought to be replicated
Trait Implementations§
source§impl Clone for ReplicationMode
impl Clone for ReplicationMode
source§fn clone(&self) -> ReplicationMode
fn clone(&self) -> ReplicationMode
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 Display for ReplicationMode
impl Display for ReplicationMode
source§impl From<Cid<64>> for ReplicationMode
impl From<Cid<64>> for ReplicationMode
Auto Trait Implementations§
impl RefUnwindSafe for ReplicationMode
impl Send for ReplicationMode
impl Sync for ReplicationMode
impl Unpin for ReplicationMode
impl UnwindSafe for ReplicationMode
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