pub struct ContextExpose {Show 16 fields
pub service: Option<ContextSpanned<OneOrMany<Name>>>,
pub protocol: Option<ContextSpanned<OneOrMany<Name>>>,
pub directory: Option<ContextSpanned<OneOrMany<Name>>>,
pub runner: Option<ContextSpanned<OneOrMany<Name>>>,
pub resolver: Option<ContextSpanned<OneOrMany<Name>>>,
pub dictionary: Option<ContextSpanned<OneOrMany<Name>>>,
pub config: Option<ContextSpanned<OneOrMany<Name>>>,
pub from: ContextSpanned<OneOrMany<ExposeFromRef>>,
pub to: Option<ContextSpanned<ExposeToRef>>,
pub as: Option<ContextSpanned<Name>>,
pub rights: Option<ContextSpanned<Rights>>,
pub subdir: Option<ContextSpanned<RelativePath>>,
pub event_stream: Option<ContextSpanned<OneOrMany<Name>>>,
pub scope: Option<ContextSpanned<OneOrMany<EventScope>>>,
pub availability: Option<ContextSpanned<Availability>>,
pub source_availability: Option<ContextSpanned<SourceAvailability>>,
}Fields§
§service: Option<ContextSpanned<OneOrMany<Name>>>§protocol: Option<ContextSpanned<OneOrMany<Name>>>§directory: Option<ContextSpanned<OneOrMany<Name>>>§runner: Option<ContextSpanned<OneOrMany<Name>>>§resolver: Option<ContextSpanned<OneOrMany<Name>>>§dictionary: Option<ContextSpanned<OneOrMany<Name>>>§config: Option<ContextSpanned<OneOrMany<Name>>>§from: ContextSpanned<OneOrMany<ExposeFromRef>>§to: Option<ContextSpanned<ExposeToRef>>§as: Option<ContextSpanned<Name>>§rights: Option<ContextSpanned<Rights>>§subdir: Option<ContextSpanned<RelativePath>>§event_stream: Option<ContextSpanned<OneOrMany<Name>>>§scope: Option<ContextSpanned<OneOrMany<EventScope>>>§availability: Option<ContextSpanned<Availability>>§source_availability: Option<ContextSpanned<SourceAvailability>>Trait Implementations§
Source§impl AsClauseContext for ContextExpose
impl AsClauseContext for ContextExpose
fn as(&self) -> Option<ContextSpanned<&BorrowedName>>
Source§impl Clone for ContextExpose
impl Clone for ContextExpose
Source§fn clone(&self) -> ContextExpose
fn clone(&self) -> ContextExpose
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 ContextCapabilityClause for ContextExpose
impl ContextCapabilityClause for ContextExpose
fn service(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn protocol(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn directory(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn storage(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn runner(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn resolver(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn event_stream(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn dictionary(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn config(&self) -> Option<ContextSpanned<OneOrMany<&BorrowedName>>>
fn decl_type(&self) -> &'static str
fn supported(&self) -> &[&'static str]
Source§fn are_many_names_allowed(&self) -> bool
fn are_many_names_allowed(&self) -> bool
Returns true if this capability type allows the ::Many variant of OneOrMany.
fn capability_type(&self, origin: Option<Origin>) -> Result<&'static str, Error>
Source§impl ContextPathClause for ContextExpose
impl ContextPathClause for ContextExpose
Source§impl Debug for ContextExpose
impl Debug for ContextExpose
Source§impl FromClauseContext for ContextExpose
impl FromClauseContext for ContextExpose
Source§impl PartialEq for ContextExpose
impl PartialEq for ContextExpose
impl Eq for ContextExpose
Auto Trait Implementations§
impl Freeze for ContextExpose
impl RefUnwindSafe for ContextExpose
impl Send for ContextExpose
impl Sync for ContextExpose
impl Unpin for ContextExpose
impl UnwindSafe for ContextExpose
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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