pub struct BoundFileReference {
pub id: String,
pub sha256: String,
pub path: String,
}Expand description
A file on disk bound by content hash. path is resolved relative to the
plan file’s directory by the caller; the referenced bytes must hash to
sha256.
Fields§
§id: String§sha256: String§path: StringTrait Implementations§
Source§impl Clone for BoundFileReference
impl Clone for BoundFileReference
Source§fn clone(&self) -> BoundFileReference
fn clone(&self) -> BoundFileReference
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 BoundFileReference
impl Debug for BoundFileReference
Source§impl<'de> Deserialize<'de> for BoundFileReference
impl<'de> Deserialize<'de> for BoundFileReference
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
Source§impl PartialEq for BoundFileReference
impl PartialEq for BoundFileReference
Source§impl Serialize for BoundFileReference
impl Serialize for BoundFileReference
impl StructuralPartialEq for BoundFileReference
Auto Trait Implementations§
impl Freeze for BoundFileReference
impl RefUnwindSafe for BoundFileReference
impl Send for BoundFileReference
impl Sync for BoundFileReference
impl Unpin for BoundFileReference
impl UnsafeUnpin for BoundFileReference
impl UnwindSafe for BoundFileReference
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