pub struct ResourceEntry {
pub path: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
One list item — the Phase-3 shape, unchanged: path typed (the
human renderer prints one per line), unknown keys round-trip.
Surgery-sourced entries carry no extras (the zip member list is
the whole truth).
Fields§
§path: Option<String>The resource path, e.g. "ignition/script-python/e2e/scratch".
extra: BTreeMap<String, Value>scope, version, … — unknown keys round-trip (surgery
entries leave this empty).
Trait Implementations§
Source§impl Clone for ResourceEntry
impl Clone for ResourceEntry
Source§fn clone(&self) -> ResourceEntry
fn clone(&self) -> ResourceEntry
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 ResourceEntry
impl Debug for ResourceEntry
Source§impl<'de> Deserialize<'de> for ResourceEntry
impl<'de> Deserialize<'de> for ResourceEntry
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 ResourceEntry
impl PartialEq for ResourceEntry
Source§impl Serialize for ResourceEntry
impl Serialize for ResourceEntry
impl StructuralPartialEq for ResourceEntry
Auto Trait Implementations§
impl Freeze for ResourceEntry
impl RefUnwindSafe for ResourceEntry
impl Send for ResourceEntry
impl Sync for ResourceEntry
impl Unpin for ResourceEntry
impl UnsafeUnpin for ResourceEntry
impl UnwindSafe for ResourceEntry
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