#[non_exhaustive]pub struct QueryOutputTransformInputBuilder { /* private fields */ }
Expand description
A builder for QueryOutputTransformInput
.
Implementations§
Source§impl QueryOutputTransformInputBuilder
impl QueryOutputTransformInputBuilder
pub fn original_input(self, input: impl Into<QueryInput>) -> Self
pub fn set_original_input(self, input: Option<QueryInput>) -> Self
pub fn get_original_input(&self) -> &Option<QueryInput>
pub fn sdk_output(self, input: impl Into<QueryOutput>) -> Self
pub fn set_sdk_output(self, input: Option<QueryOutput>) -> Self
pub fn get_sdk_output(&self) -> &Option<QueryOutput>
Sourcepub fn build(self) -> Result<QueryOutputTransformInput, BuildError>
pub fn build(self) -> Result<QueryOutputTransformInput, BuildError>
Consumes the builder and constructs a QueryOutputTransformInput
.
Trait Implementations§
Source§impl Clone for QueryOutputTransformInputBuilder
impl Clone for QueryOutputTransformInputBuilder
Source§fn clone(&self) -> QueryOutputTransformInputBuilder
fn clone(&self) -> QueryOutputTransformInputBuilder
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 Default for QueryOutputTransformInputBuilder
impl Default for QueryOutputTransformInputBuilder
Source§fn default() -> QueryOutputTransformInputBuilder
fn default() -> QueryOutputTransformInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for QueryOutputTransformInputBuilder
impl PartialEq for QueryOutputTransformInputBuilder
Source§fn eq(&self, other: &QueryOutputTransformInputBuilder) -> bool
fn eq(&self, other: &QueryOutputTransformInputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for QueryOutputTransformInputBuilder
Auto Trait Implementations§
impl Freeze for QueryOutputTransformInputBuilder
impl RefUnwindSafe for QueryOutputTransformInputBuilder
impl Send for QueryOutputTransformInputBuilder
impl Sync for QueryOutputTransformInputBuilder
impl Unpin for QueryOutputTransformInputBuilder
impl UnwindSafe for QueryOutputTransformInputBuilder
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> 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 moreCreates a shared type from an unshared type.