pub struct ParsedUse {Show 23 fields
pub service: Option<Spanned<OneOrMany<Name>>>,
pub protocol: Option<Spanned<OneOrMany<Name>>>,
pub directory: Option<Spanned<Name>>,
pub storage: Option<Spanned<Name>>,
pub event_stream: Option<Spanned<OneOrMany<Name>>>,
pub runner: Option<Spanned<Name>>,
pub config: Option<Spanned<Name>>,
pub dictionary: Option<Spanned<OneOrMany<Name>>>,
pub from: Option<Spanned<UseFromRef>>,
pub path: Option<Spanned<Path>>,
pub numbered_handle: Option<Spanned<HandleType>>,
pub rights: Option<Spanned<Rights>>,
pub subdir: Option<Spanned<RelativePath>>,
pub scope: Option<Spanned<OneOrMany<EventScope>>>,
pub filter: Option<Spanned<Map<String, Value>>>,
pub dependency: Option<Spanned<DependencyType>>,
pub availability: Option<Spanned<Availability>>,
pub key: Option<Spanned<Name>>,
pub config_type: Option<Spanned<ConfigType>>,
pub config_max_size: Option<Spanned<NonZeroU32>>,
pub config_max_count: Option<Spanned<NonZeroU32>>,
pub config_element_type: Option<Spanned<ConfigNestedValueType>>,
pub config_default: Option<Spanned<Value>>,
}Fields§
§service: Option<Spanned<OneOrMany<Name>>>§protocol: Option<Spanned<OneOrMany<Name>>>§directory: Option<Spanned<Name>>§storage: Option<Spanned<Name>>§event_stream: Option<Spanned<OneOrMany<Name>>>§runner: Option<Spanned<Name>>§config: Option<Spanned<Name>>§dictionary: Option<Spanned<OneOrMany<Name>>>§from: Option<Spanned<UseFromRef>>§path: Option<Spanned<Path>>§numbered_handle: Option<Spanned<HandleType>>§rights: Option<Spanned<Rights>>§subdir: Option<Spanned<RelativePath>>§scope: Option<Spanned<OneOrMany<EventScope>>>§filter: Option<Spanned<Map<String, Value>>>§dependency: Option<Spanned<DependencyType>>§availability: Option<Spanned<Availability>>§key: Option<Spanned<Name>>§config_type: Option<Spanned<ConfigType>>§config_max_size: Option<Spanned<NonZeroU32>>§config_max_count: Option<Spanned<NonZeroU32>>§config_element_type: Option<Spanned<ConfigNestedValueType>>§config_default: Option<Spanned<Value>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ParsedUse
impl<'de> Deserialize<'de> for ParsedUse
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
impl StructuralPartialEq for ParsedUse
Auto Trait Implementations§
impl Freeze for ParsedUse
impl RefUnwindSafe for ParsedUse
impl Send for ParsedUse
impl Sync for ParsedUse
impl Unpin for ParsedUse
impl UnwindSafe for ParsedUse
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<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more