pub struct AccessGrantDef<Priv, PermMask, PointSelector, Point> {
pub kind: AccessGrantKindDef<Priv, PermMask>,
pub on_point: PointSelector,
pub to_point: PointSelector,
pub by_particle: Point,
}Fields§
§kind: AccessGrantKindDef<Priv, PermMask>§on_point: PointSelector§to_point: PointSelector§by_particle: PointTrait Implementations§
Source§impl<Priv: Clone, PermMask: Clone, PointSelector: Clone, Point: Clone> Clone for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv: Clone, PermMask: Clone, PointSelector: Clone, Point: Clone> Clone for AccessGrantDef<Priv, PermMask, PointSelector, Point>
Source§fn clone(&self) -> AccessGrantDef<Priv, PermMask, PointSelector, Point>
fn clone(&self) -> AccessGrantDef<Priv, PermMask, PointSelector, Point>
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<Priv: Debug, PermMask: Debug, PointSelector: Debug, Point: Debug> Debug for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv: Debug, PermMask: Debug, PointSelector: Debug, Point: Debug> Debug for AccessGrantDef<Priv, PermMask, PointSelector, Point>
Source§impl<'de, Priv, PermMask, PointSelector, Point> Deserialize<'de> for AccessGrantDef<Priv, PermMask, PointSelector, Point>where
Priv: Deserialize<'de>,
PermMask: Deserialize<'de>,
PointSelector: Deserialize<'de>,
Point: Deserialize<'de>,
impl<'de, Priv, PermMask, PointSelector, Point> Deserialize<'de> for AccessGrantDef<Priv, PermMask, PointSelector, Point>where
Priv: Deserialize<'de>,
PermMask: Deserialize<'de>,
PointSelector: Deserialize<'de>,
Point: Deserialize<'de>,
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 Into<AccessGrantDef<Privilege, PermissionsMask, SelectorDef<HopDef<PointSegSelector, KindSelectorDef<Pattern<BaseKind>, Pattern<Option<CamelCase>>, SpecificSelectorDef<Pattern<Domain>, Pattern<Domain>, Pattern<SkewerCase>, Pattern<SkewerCase>, VersionReq>>>>, PointDef<RouteSeg, PointSeg>>> for IndexedAccessGrant
impl Into<AccessGrantDef<Privilege, PermissionsMask, SelectorDef<HopDef<PointSegSelector, KindSelectorDef<Pattern<BaseKind>, Pattern<Option<CamelCase>>, SpecificSelectorDef<Pattern<Domain>, Pattern<Domain>, Pattern<SkewerCase>, Pattern<SkewerCase>, VersionReq>>>>, PointDef<RouteSeg, PointSeg>>> for IndexedAccessGrant
Source§fn into(self) -> AccessGrant
fn into(self) -> AccessGrant
Converts this type into the (usually inferred) input type.
Source§impl<Priv, PermMask, PointSelector, Point> Serialize for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv, PermMask, PointSelector, Point> Serialize for AccessGrantDef<Priv, PermMask, PointSelector, Point>
Auto Trait Implementations§
impl<Priv, PermMask, PointSelector, Point> Freeze for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv, PermMask, PointSelector, Point> RefUnwindSafe for AccessGrantDef<Priv, PermMask, PointSelector, Point>where
PointSelector: RefUnwindSafe,
Point: RefUnwindSafe,
Priv: RefUnwindSafe,
PermMask: RefUnwindSafe,
impl<Priv, PermMask, PointSelector, Point> Send for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv, PermMask, PointSelector, Point> Sync for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv, PermMask, PointSelector, Point> Unpin for AccessGrantDef<Priv, PermMask, PointSelector, Point>
impl<Priv, PermMask, PointSelector, Point> UnwindSafe for AccessGrantDef<Priv, PermMask, PointSelector, Point>
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,
Source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more