pub struct VariantPreview {
pub id: String,
pub server: Result<Server, CoreError>,
pub extractions: Vec<Extraction>,
}Expand description
What importing one variant under its suggested id stores.
Fields§
§id: String§server: Result<Server, CoreError>The server as it would be stored (references in place of sensitive literals), or why the variant cannot be imported.
extractions: Vec<Extraction>The sensitive literals that need a destination, with suggested aliases. No value.
Trait Implementations§
Source§impl Clone for VariantPreview
impl Clone for VariantPreview
Auto Trait Implementations§
impl Forget for VariantPreview
impl Freeze for VariantPreviewwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, ServerOverride> is !null: Freeze,
PhantomData<Box<(String, ServerOverride)>>: Freeze,
*const LeafNode<String, Map<String, Value>> is !null: Freeze,
PhantomData<Box<(String, Map<String, Value>)>>: Freeze,
PhantomData<Extraction>: Freeze,
impl Move for VariantPreview
impl RefUnwindSafe for VariantPreview
impl Send for VariantPreviewwhere
RawVecInner: Send,
NodeRef<Owned, String, String, LeafOrInternal>: Send,
BoxRaw<(String, String)>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Send,
BoxRaw<(String, ServerOverride)>: Send,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Send,
BoxRaw<(String, Map<String, Value>)>: Send,
&'static str: Send,
impl Sync for VariantPreviewwhere
RawVecInner: Sync,
NodeRef<Owned, String, String, LeafOrInternal>: Sync,
BoxRaw<(String, String)>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, ServerOverride, LeafOrInternal>: Sync,
BoxRaw<(String, ServerOverride)>: Sync,
NodeRef<Owned, String, Map<String, Value>, LeafOrInternal>: Sync,
BoxRaw<(String, Map<String, Value>)>: Sync,
impl Unpin for VariantPreviewwhere
*const u8 is !null: Unpin,
*const LeafNode<String, String> is !null: Unpin,
Box<(String, String)>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, ServerOverride> is !null: Unpin,
Box<(String, ServerOverride)>: Unpin,
*const LeafNode<String, Map<String, Value>> is !null: Unpin,
Box<(String, Map<String, Value>)>: Unpin,
&'static str: Unpin,
impl UnsafeUnpin for VariantPreviewwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, ServerOverride> is !null: UnsafeUnpin,
PhantomData<Box<(String, ServerOverride)>>: UnsafeUnpin,
*const LeafNode<String, Map<String, Value>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Map<String, Value>)>>: UnsafeUnpin,
PhantomData<Extraction>: UnsafeUnpin,
impl UnwindSafe for VariantPreviewwhere
RawVecInner: UnwindSafe,
BTreeMap<String, String>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
BTreeMap<String, ServerOverride>: UnwindSafe,
BTreeMap<String, Map<String, Value>>: UnwindSafe,
&'static str: UnwindSafe,
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