pub struct CandidateEntry {
pub destination: String,
pub kind: Kind,
pub placement: String,
pub sha256: Digest,
pub region_sha256: Option<Digest>,
pub sources: Vec<String>,
}Expand description
One candidate under artifacts/.
Fields§
§destination: StringThe destination, relative to the target root and to artifacts/.
kind: KindWho owns the bytes after landing.
placement: Stringwhole for a whole file, region for a marked region whose
artifact is the complete spliced document.
sha256: DigestThe digest of the complete artifact bytes.
region_sha256: Option<Digest>The digest of the rendered region alone, for a region destination.
sources: Vec<String>The embedded source paths the candidate was rendered from.
Trait Implementations§
Source§impl Clone for CandidateEntry
impl Clone for CandidateEntry
Source§impl Debug for CandidateEntry
impl Debug for CandidateEntry
Source§impl<'de> Deserialize<'de> for CandidateEntry
impl<'de> Deserialize<'de> for CandidateEntry
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 CandidateEntry
impl RefUnwindSafe for CandidateEntry
impl Send for CandidateEntry
impl Sync for CandidateEntry
impl Unpin for CandidateEntry
impl UnsafeUnpin for CandidateEntry
impl UnwindSafe for CandidateEntry
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