pub struct IncludeLink {
pub kind: IncludeLinkKind,
pub path: Option<String>,
pub url: Option<String>,
pub sha256: Option<String>,
}Expand description
Retained include identity after load (not authored directly in YAML).
Fields§
§kind: IncludeLinkKind§path: Option<String>Relative path under the jan use root (local includes).
url: Option<String>Remote URL when the include was fetched over HTTPS.
sha256: Option<String>Declared SHA256 when present (required for remote; optional for local).
Trait Implementations§
Source§impl Clone for IncludeLink
impl Clone for IncludeLink
Source§fn clone(&self) -> IncludeLink
fn clone(&self) -> IncludeLink
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 IncludeLink
impl Debug for IncludeLink
impl Eq for IncludeLink
Source§impl PartialEq for IncludeLink
impl PartialEq for IncludeLink
impl StructuralPartialEq for IncludeLink
Auto Trait Implementations§
impl Freeze for IncludeLink
impl RefUnwindSafe for IncludeLink
impl Send for IncludeLink
impl Sync for IncludeLink
impl Unpin for IncludeLink
impl UnsafeUnpin for IncludeLink
impl UnwindSafe for IncludeLink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.