pub struct ImportEnvelope {
pub schema_version: Option<u32>,
pub hosts: BTreeMap<String, ImportHostEntry>,
}Expand description
Top-level import document: vps-export envelope or bare { "hosts": … }.
Fields§
§schema_version: Option<u32>Optional schema version from export envelope.
hosts: BTreeMap<String, ImportHostEntry>Host map (required).
Trait Implementations§
Source§impl Clone for ImportEnvelope
impl Clone for ImportEnvelope
Source§fn clone(&self) -> ImportEnvelope
fn clone(&self) -> ImportEnvelope
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 ImportEnvelope
impl Debug for ImportEnvelope
Source§impl<'de> Deserialize<'de> for ImportEnvelope
impl<'de> Deserialize<'de> for ImportEnvelope
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
Auto Trait Implementations§
impl Freeze for ImportEnvelope
impl RefUnwindSafe for ImportEnvelope
impl Send for ImportEnvelope
impl Sync for ImportEnvelope
impl Unpin for ImportEnvelope
impl UnsafeUnpin for ImportEnvelope
impl UnwindSafe for ImportEnvelope
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