#[non_exhaustive]pub struct ResourcePath {
pub nodes: Vec<ResourcePathNode>,
/* private fields */
}Expand description
Represents the path of resources leading up to the resource this finding is about.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nodes: Vec<ResourcePathNode>The list of nodes that make the up resource path, ordered from lowest level to highest level.
Implementations§
Trait Implementations§
Source§impl Clone for ResourcePath
impl Clone for ResourcePath
Source§fn clone(&self) -> ResourcePath
fn clone(&self) -> ResourcePath
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 ResourcePath
impl Debug for ResourcePath
Source§impl Default for ResourcePath
impl Default for ResourcePath
Source§fn default() -> ResourcePath
fn default() -> ResourcePath
Returns the “default value” for a type. Read more
Source§impl Message for ResourcePath
impl Message for ResourcePath
Source§impl PartialEq for ResourcePath
impl PartialEq for ResourcePath
impl StructuralPartialEq for ResourcePath
Auto Trait Implementations§
impl Freeze for ResourcePath
impl RefUnwindSafe for ResourcePath
impl Send for ResourcePath
impl Sync for ResourcePath
impl Unpin for ResourcePath
impl UnwindSafe for ResourcePath
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