pub struct Manifest {
pub version: u32,
pub vars: BTreeMap<String, String>,
pub targets: Vec<TargetRepo>,
pub files: Vec<ManagedFile>,
}Fields§
§version: u32§vars: BTreeMap<String, String>§targets: Vec<TargetRepo>§files: Vec<ManagedFile>Implementations§
Source§impl Manifest
impl Manifest
pub fn load_from_path(path: &Path) -> Result<Self, DriftError>
pub fn validate(&self) -> Result<(), DriftError>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Manifest
impl<'de> Deserialize<'de> for Manifest
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 Forget for Manifest
impl Freeze for Manifest
impl Move for Manifest
impl RefUnwindSafe for Manifest
impl Send for Manifest
impl Sync for Manifest
impl Unpin for Manifest
impl UnsafeUnpin for Manifest
impl UnwindSafe for Manifest
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