pub struct AuthorityScope(pub String);Expand description
The scope (instance + namespace/project) that is source-of-truth for a record — the authority a receiver defers to on conflict (Phase 5).
For 0.1.0 it defaults to the local instance’s scope; not exercised until federation, but present so the schema is forward-compatible.
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for AuthorityScope
impl Clone for AuthorityScope
Source§fn clone(&self) -> AuthorityScope
fn clone(&self) -> AuthorityScope
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 moreSource§impl Debug for AuthorityScope
impl Debug for AuthorityScope
Source§impl Default for AuthorityScope
impl Default for AuthorityScope
impl Eq for AuthorityScope
Source§impl Hash for AuthorityScope
impl Hash for AuthorityScope
Source§impl PartialEq for AuthorityScope
impl PartialEq for AuthorityScope
impl StructuralPartialEq for AuthorityScope
Auto Trait Implementations§
impl Freeze for AuthorityScope
impl RefUnwindSafe for AuthorityScope
impl Send for AuthorityScope
impl Sync for AuthorityScope
impl Unpin for AuthorityScope
impl UnsafeUnpin for AuthorityScope
impl UnwindSafe for AuthorityScope
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