pub struct ContextEnvironment {
pub name: ContextSpanned<Name>,
pub extends: Option<ContextSpanned<EnvironmentExtends>>,
pub runners: Option<Vec<ContextSpanned<ContextRunnerRegistration>>>,
pub resolvers: Option<Vec<ContextSpanned<ContextResolverRegistration>>>,
pub debug: Option<Vec<ContextSpanned<ContextDebugRegistration>>>,
pub stop_timeout_ms: Option<ContextSpanned<StopTimeoutMs>>,
}Fields§
§name: ContextSpanned<Name>§extends: Option<ContextSpanned<EnvironmentExtends>>§runners: Option<Vec<ContextSpanned<ContextRunnerRegistration>>>§resolvers: Option<Vec<ContextSpanned<ContextResolverRegistration>>>§debug: Option<Vec<ContextSpanned<ContextDebugRegistration>>>§stop_timeout_ms: Option<ContextSpanned<StopTimeoutMs>>Implementations§
Source§impl ContextEnvironment
impl ContextEnvironment
pub fn merge_from(&mut self, other: Self) -> Result<(), Error>
Trait Implementations§
Source§impl Debug for ContextEnvironment
impl Debug for ContextEnvironment
Source§impl PartialEq for ContextEnvironment
impl PartialEq for ContextEnvironment
impl StructuralPartialEq for ContextEnvironment
Auto Trait Implementations§
impl Freeze for ContextEnvironment
impl RefUnwindSafe for ContextEnvironment
impl Send for ContextEnvironment
impl Sync for ContextEnvironment
impl Unpin for ContextEnvironment
impl UnwindSafe for ContextEnvironment
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, 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