pub struct RefField {
pub path: &'static str,
pub to: ResourceKind,
}Expand description
A reference-bearing field: path addresses a string (or array of strings)
naming resources of kind to.
Path syntax: dot-separated keys; [] after a key descends into each array
element. Examples: "dataSourceName", "knowledgeSources[].name",
"indexes[].name".
Fields§
§path: &'static str§to: ResourceKindTrait Implementations§
Auto Trait Implementations§
impl Freeze for RefField
impl RefUnwindSafe for RefField
impl Send for RefField
impl Sync for RefField
impl Unpin for RefField
impl UnsafeUnpin for RefField
impl UnwindSafe for RefField
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