pub struct ArtifactRelocation {
pub section: Option<u32>,
pub offset: u64,
pub kind: String,
pub target: Option<String>,
}Expand description
A relocation anchor retained as parsed evidence rather than a stable ID.
Fields§
§section: Option<u32>Section index used only to locate this parser observation.
offset: u64Offset in the artifact byte stream.
kind: StringParser-provided relocation kind label.
target: Option<String>Display target, when the format makes one available.
Trait Implementations§
Source§impl Clone for ArtifactRelocation
impl Clone for ArtifactRelocation
Source§fn clone(&self) -> ArtifactRelocation
fn clone(&self) -> ArtifactRelocation
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 ArtifactRelocation
impl Debug for ArtifactRelocation
Source§impl<'de> Deserialize<'de> for ArtifactRelocation
impl<'de> Deserialize<'de> for ArtifactRelocation
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
impl Eq for ArtifactRelocation
Source§impl PartialEq for ArtifactRelocation
impl PartialEq for ArtifactRelocation
Source§impl Serialize for ArtifactRelocation
impl Serialize for ArtifactRelocation
impl StructuralPartialEq for ArtifactRelocation
Auto Trait Implementations§
impl Freeze for ArtifactRelocation
impl RefUnwindSafe for ArtifactRelocation
impl Send for ArtifactRelocation
impl Sync for ArtifactRelocation
impl Unpin for ArtifactRelocation
impl UnsafeUnpin for ArtifactRelocation
impl UnwindSafe for ArtifactRelocation
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.