pub struct References<'a> { /* private fields */ }Implementations§
Source§impl<'a> References<'a>
impl<'a> References<'a>
pub fn read(&self, id: &ReferenceId) -> Result<String, Error>
pub fn register( &self, draft: &ReferenceDraft, mode: ApplyMode, ) -> Result<ReferenceRegistrationOutcome, Error>
Trait Implementations§
Source§impl<'a> Clone for References<'a>
impl<'a> Clone for References<'a>
Source§fn clone(&self) -> References<'a>
fn clone(&self) -> References<'a>
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 moreimpl<'a> Copy for References<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for References<'a>
impl<'a> !UnwindSafe for References<'a>
impl<'a> Freeze for References<'a>
impl<'a> Send for References<'a>
impl<'a> Sync for References<'a>
impl<'a> Unpin for References<'a>
impl<'a> UnsafeUnpin for References<'a>
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