pub struct ReadOptions<'a> {
pub trust: Trust,
pub peer: &'a str,
pub extref_keys: &'a [String],
}Expand description
Options for read_bundle.
Fields§
§trust: TrustHow much of the peer’s claim to adopt.
peer: &'a strThe peer’s name, used for the node-key namespace and the src_ref.
extref_keys: &'a [String]Keys of extref: placeholders already in this graph, which an imported
concept may fill (ADR-0009). Pass an empty slice to fill none.
Auto Trait Implementations§
impl<'a> Freeze for ReadOptions<'a>
impl<'a> RefUnwindSafe for ReadOptions<'a>
impl<'a> Send for ReadOptions<'a>
impl<'a> Sync for ReadOptions<'a>
impl<'a> Unpin for ReadOptions<'a>
impl<'a> UnsafeUnpin for ReadOptions<'a>
impl<'a> UnwindSafe for ReadOptions<'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