pub struct ParsedCapability {Show 21 fields
pub service: Option<Spanned<OneOrMany<Name>>>,
pub protocol: Option<Spanned<OneOrMany<Name>>>,
pub directory: Option<Spanned<Name>>,
pub storage: Option<Spanned<Name>>,
pub runner: Option<Spanned<Name>>,
pub resolver: Option<Spanned<Name>>,
pub event_stream: Option<Spanned<OneOrMany<Name>>>,
pub dictionary: Option<Spanned<Name>>,
pub config: Option<Spanned<Name>>,
pub path: Option<Spanned<Path>>,
pub rights: Option<Spanned<Rights>>,
pub from: Option<Spanned<CapabilityFromRef>>,
pub backing_dir: Option<Spanned<Name>>,
pub subdir: Option<Spanned<RelativePath>>,
pub storage_id: Option<Spanned<StorageId>>,
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 value: Option<Spanned<Value>>,
pub delivery: Option<Spanned<DeliveryType>>,
}Fields§
§service: Option<Spanned<OneOrMany<Name>>>§protocol: Option<Spanned<OneOrMany<Name>>>§directory: Option<Spanned<Name>>§storage: Option<Spanned<Name>>§runner: Option<Spanned<Name>>§resolver: Option<Spanned<Name>>§event_stream: Option<Spanned<OneOrMany<Name>>>§dictionary: Option<Spanned<Name>>§config: Option<Spanned<Name>>§path: Option<Spanned<Path>>§rights: Option<Spanned<Rights>>§from: Option<Spanned<CapabilityFromRef>>§backing_dir: Option<Spanned<Name>>§subdir: Option<Spanned<RelativePath>>§storage_id: Option<Spanned<StorageId>>§config_type: Option<Spanned<ConfigType>>§config_max_size: Option<Spanned<NonZeroU32>>§config_max_count: Option<Spanned<NonZeroU32>>§config_element_type: Option<Spanned<ConfigNestedValueType>>§value: Option<Spanned<Value>>§delivery: Option<Spanned<DeliveryType>>Trait Implementations§
Source§impl Clone for ParsedCapability
impl Clone for ParsedCapability
Source§fn clone(&self) -> ParsedCapability
fn clone(&self) -> ParsedCapability
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 ParsedCapability
impl Debug for ParsedCapability
Source§impl Default for ParsedCapability
impl Default for ParsedCapability
Source§fn default() -> ParsedCapability
fn default() -> ParsedCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ParsedCapability
impl<'de> Deserialize<'de> for ParsedCapability
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 Hydrate for ParsedCapability
impl Hydrate for ParsedCapability
Source§impl PartialEq for ParsedCapability
impl PartialEq for ParsedCapability
impl StructuralPartialEq for ParsedCapability
Auto Trait Implementations§
impl Freeze for ParsedCapability
impl RefUnwindSafe for ParsedCapability
impl Send for ParsedCapability
impl Sync for ParsedCapability
impl Unpin for ParsedCapability
impl UnwindSafe for ParsedCapability
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