pub struct ResolvableDirective {
pub namespace: String,
pub name: String,
pub meta: Meta,
}Expand description
A directive that needs to be resolved by an external extension.
Resolvable directives are detected by the prefix::name(...) syntax where
the path contains exactly two segments separated by ::.
Fields§
§namespace: StringThe namespace prefix, e.g. "wellknown" in wellknown::ata(...).
name: StringThe directive name, e.g. "ata" in wellknown::ata(...).
meta: MetaThe full Meta content for the extension to parse during resolution.
Trait Implementations§
Source§impl Clone for ResolvableDirective
impl Clone for ResolvableDirective
Source§fn clone(&self) -> ResolvableDirective
fn clone(&self) -> ResolvableDirective
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 ResolvableDirective
impl Debug for ResolvableDirective
Source§impl Display for ResolvableDirective
impl Display for ResolvableDirective
Source§impl PartialEq for ResolvableDirective
impl PartialEq for ResolvableDirective
impl StructuralPartialEq for ResolvableDirective
Auto Trait Implementations§
impl Freeze for ResolvableDirective
impl RefUnwindSafe for ResolvableDirective
impl !Send for ResolvableDirective
impl !Sync for ResolvableDirective
impl Unpin for ResolvableDirective
impl UnsafeUnpin for ResolvableDirective
impl UnwindSafe for ResolvableDirective
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