pub enum AddressTarget {
Id(String),
Path(String),
}Expand description
What the part after @brain/ names.
Variants§
Id(String)
A record id — the db.md lowercase ULID (the reserved @brain/id shape).
Path(String)
A store-relative .md path — a client-side convenience the hub’s
resolve endpoint also accepts (?path=). Not part of the reserved
shape; unambiguous because a ULID is never a path.
Trait Implementations§
Source§impl Clone for AddressTarget
impl Clone for AddressTarget
Source§fn clone(&self) -> AddressTarget
fn clone(&self) -> AddressTarget
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 AddressTarget
impl Debug for AddressTarget
impl Eq for AddressTarget
Source§impl PartialEq for AddressTarget
impl PartialEq for AddressTarget
impl StructuralPartialEq for AddressTarget
Auto Trait Implementations§
impl Freeze for AddressTarget
impl RefUnwindSafe for AddressTarget
impl Send for AddressTarget
impl Sync for AddressTarget
impl Unpin for AddressTarget
impl UnsafeUnpin for AddressTarget
impl UnwindSafe for AddressTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.