Struct ion_schema::authority::MapDocumentAuthority
source · pub struct MapDocumentAuthority { /* private fields */ }
Expand description
An DocumentAuthority
implementation that attempts to resolve schema ids to ion elements using the map.
Implementations§
source§impl MapDocumentAuthority
impl MapDocumentAuthority
pub fn new<'a, I: IntoIterator<Item = (&'a str, &'a str)>>( ion_content_by_id: I ) -> Self
Trait Implementations§
source§impl Clone for MapDocumentAuthority
impl Clone for MapDocumentAuthority
source§fn clone(&self) -> MapDocumentAuthority
fn clone(&self) -> MapDocumentAuthority
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 MapDocumentAuthority
impl Debug for MapDocumentAuthority
Auto Trait Implementations§
impl RefUnwindSafe for MapDocumentAuthority
impl Send for MapDocumentAuthority
impl Sync for MapDocumentAuthority
impl Unpin for MapDocumentAuthority
impl UnwindSafe for MapDocumentAuthority
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