pub struct ResolvedE2eCallRecipe<'a> {
pub args: &'a [ArgMapping],
pub override_config: Option<&'a CallOverride>,
pub options_type: Option<&'a str>,
pub options_via: &'a str,
pub extra_args: &'a [String],
/* private fields */
}Fields§
§args: &'a [ArgMapping]§override_config: Option<&'a CallOverride>§options_type: Option<&'a str>§options_via: &'a str§extra_args: &'a [String]Implementations§
Source§impl<'a> ResolvedE2eCallRecipe<'a>
impl<'a> ResolvedE2eCallRecipe<'a>
pub fn resolve( language: &str, fixture: &'a Fixture, call_config: &'a CallConfig, type_defs: &'a [TypeDef], ) -> Self
pub fn compatible_options_type( &self, compatible_languages: &[&str], ) -> Option<&'a str>
pub fn json_object_arg_has_default(&self, arg: &ArgMapping) -> bool
Sourcepub fn handle_config_type(&self, arg: &'a ArgMapping) -> Option<&'a str>
pub fn handle_config_type(&self, arg: &'a ArgMapping) -> Option<&'a str>
Resolve the config type used to materialize a handle argument.
Handle fixtures create an opaque owner before invoking the target call. The config type must come from explicit fixture/call metadata instead of language generators guessing a project-specific DTO name.
Trait Implementations§
Source§impl<'a> Clone for ResolvedE2eCallRecipe<'a>
impl<'a> Clone for ResolvedE2eCallRecipe<'a>
Source§fn clone(&self) -> ResolvedE2eCallRecipe<'a>
fn clone(&self) -> ResolvedE2eCallRecipe<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for ResolvedE2eCallRecipe<'a>
impl<'a> RefUnwindSafe for ResolvedE2eCallRecipe<'a>
impl<'a> Send for ResolvedE2eCallRecipe<'a>
impl<'a> Sync for ResolvedE2eCallRecipe<'a>
impl<'a> Unpin for ResolvedE2eCallRecipe<'a>
impl<'a> UnsafeUnpin for ResolvedE2eCallRecipe<'a>
impl<'a> UnwindSafe for ResolvedE2eCallRecipe<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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