pub struct InstallPlanFile {
pub path: String,
pub bytes: Option<i64>,
}Expand description
One file an install will fetch, with its size when the provider reported it.
Fields§
§path: StringThe file’s path within the repository.
bytes: Option<i64>The file’s size in bytes, if known.
Implementations§
Trait Implementations§
Source§impl Clone for InstallPlanFile
impl Clone for InstallPlanFile
Source§fn clone(&self) -> InstallPlanFile
fn clone(&self) -> InstallPlanFile
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 InstallPlanFile
impl Debug for InstallPlanFile
impl Eq for InstallPlanFile
Source§impl Hash for InstallPlanFile
impl Hash for InstallPlanFile
Source§impl PartialEq for InstallPlanFile
impl PartialEq for InstallPlanFile
impl StructuralPartialEq for InstallPlanFile
Auto Trait Implementations§
impl Freeze for InstallPlanFile
impl RefUnwindSafe for InstallPlanFile
impl Send for InstallPlanFile
impl Sync for InstallPlanFile
impl Unpin for InstallPlanFile
impl UnsafeUnpin for InstallPlanFile
impl UnwindSafe for InstallPlanFile
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