pub struct IncludeEntry {
pub kind: String,
pub target: String,
pub git_ref: String,
}Expand description
Structured representation of a single include: entry.
Serialised into AuthorityGraph::metadata[META_GITLAB_INCLUDES] so that
downstream rules (e.g. unpinned_include_remote_or_branch_ref) can analyse
remote-URL pins, project refs, and missing ref: defaults without re-parsing
the YAML.
Fields§
§kind: StringInclude kind: local, remote, template, project, component, or
unknown for shapes we don’t recognise.
target: StringThe path / URL / project string the include points at.
git_ref: StringThe resolved ref: value. Empty string when the include omits a ref:
(defaults to HEAD on the source repo, which is itself a finding).
Trait Implementations§
Source§impl Clone for IncludeEntry
impl Clone for IncludeEntry
Source§fn clone(&self) -> IncludeEntry
fn clone(&self) -> IncludeEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 IncludeEntry
impl Debug for IncludeEntry
Source§impl<'de> Deserialize<'de> for IncludeEntry
impl<'de> Deserialize<'de> for IncludeEntry
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 IncludeEntry
impl PartialEq for IncludeEntry
Source§impl Serialize for IncludeEntry
impl Serialize for IncludeEntry
impl Eq for IncludeEntry
impl StructuralPartialEq for IncludeEntry
Auto Trait Implementations§
impl Freeze for IncludeEntry
impl RefUnwindSafe for IncludeEntry
impl Send for IncludeEntry
impl Sync for IncludeEntry
impl Unpin for IncludeEntry
impl UnsafeUnpin for IncludeEntry
impl UnwindSafe for IncludeEntry
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.