pub struct ArquivoConfig {
pub schema_version: u32,
pub hosts: BTreeMap<String, VpsRegistro>,
}Expand description
Arquivo de configuração completo.
Fields§
§schema_version: u32Versão do schema.
hosts: BTreeMap<String, VpsRegistro>Mapa de VPSs por nome.
Trait Implementations§
Source§impl Debug for ArquivoConfig
impl Debug for ArquivoConfig
Source§impl Default for ArquivoConfig
impl Default for ArquivoConfig
Source§fn default() -> ArquivoConfig
fn default() -> ArquivoConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArquivoConfig
impl<'de> Deserialize<'de> for ArquivoConfig
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 ArquivoConfig
impl RefUnwindSafe for ArquivoConfig
impl Send for ArquivoConfig
impl Sync for ArquivoConfig
impl Unpin for ArquivoConfig
impl UnsafeUnpin for ArquivoConfig
impl UnwindSafe for ArquivoConfig
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