pub struct WorldImported {
pub world: World,
pub vault_keys: Vec<String>,
pub root: PathBuf,
pub carried: Vec<String>,
}Expand description
What an import did: the world as saved, the vault’s key names, and the unmodeled files carried by path.
Fields§
§world: WorldThe world value, as written into root.
vault_keys: Vec<String>The .env names the world’s secret refs point at — names only.
root: PathBufOur folder.
carried: Vec<String>Files the world does not model, copied byte for byte (relative to root).
Trait Implementations§
Source§impl Clone for WorldImported
impl Clone for WorldImported
Source§fn clone(&self) -> WorldImported
fn clone(&self) -> WorldImported
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 WorldImported
impl Debug for WorldImported
Source§impl<'de> Deserialize<'de> for WorldImported
impl<'de> Deserialize<'de> for WorldImported
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for WorldImported
Source§impl PartialEq for WorldImported
impl PartialEq for WorldImported
Source§impl Serialize for WorldImported
impl Serialize for WorldImported
impl StructuralPartialEq for WorldImported
Auto Trait Implementations§
impl Freeze for WorldImported
impl RefUnwindSafe for WorldImported
impl Send for WorldImported
impl Sync for WorldImported
impl Unpin for WorldImported
impl UnsafeUnpin for WorldImported
impl UnwindSafe for WorldImported
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.