#[non_exhaustive]pub struct UnprocessedNamedQueryIdBuilder { /* private fields */ }Expand description
A builder for UnprocessedNamedQueryId.
Implementations§
Source§impl UnprocessedNamedQueryIdBuilder
impl UnprocessedNamedQueryIdBuilder
Sourcepub fn named_query_id(self, input: impl Into<String>) -> Self
pub fn named_query_id(self, input: impl Into<String>) -> Self
The unique identifier of the named query.
Sourcepub fn set_named_query_id(self, input: Option<String>) -> Self
pub fn set_named_query_id(self, input: Option<String>) -> Self
The unique identifier of the named query.
Sourcepub fn get_named_query_id(&self) -> &Option<String>
pub fn get_named_query_id(&self) -> &Option<String>
The unique identifier of the named query.
Sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code returned when the processing request for the named query failed, if applicable.
Sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code returned when the processing request for the named query failed, if applicable.
Sourcepub fn get_error_code(&self) -> &Option<String>
pub fn get_error_code(&self) -> &Option<String>
The error code returned when the processing request for the named query failed, if applicable.
Sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message returned when the processing request for the named query failed, if applicable.
Sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message returned when the processing request for the named query failed, if applicable.
Sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message returned when the processing request for the named query failed, if applicable.
Sourcepub fn build(self) -> UnprocessedNamedQueryId
pub fn build(self) -> UnprocessedNamedQueryId
Consumes the builder and constructs a UnprocessedNamedQueryId.
Trait Implementations§
Source§impl Clone for UnprocessedNamedQueryIdBuilder
impl Clone for UnprocessedNamedQueryIdBuilder
Source§fn clone(&self) -> UnprocessedNamedQueryIdBuilder
fn clone(&self) -> UnprocessedNamedQueryIdBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for UnprocessedNamedQueryIdBuilder
impl Default for UnprocessedNamedQueryIdBuilder
Source§fn default() -> UnprocessedNamedQueryIdBuilder
fn default() -> UnprocessedNamedQueryIdBuilder
Source§impl PartialEq for UnprocessedNamedQueryIdBuilder
impl PartialEq for UnprocessedNamedQueryIdBuilder
Source§fn eq(&self, other: &UnprocessedNamedQueryIdBuilder) -> bool
fn eq(&self, other: &UnprocessedNamedQueryIdBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UnprocessedNamedQueryIdBuilder
Auto Trait Implementations§
impl Freeze for UnprocessedNamedQueryIdBuilder
impl RefUnwindSafe for UnprocessedNamedQueryIdBuilder
impl Send for UnprocessedNamedQueryIdBuilder
impl Sync for UnprocessedNamedQueryIdBuilder
impl Unpin for UnprocessedNamedQueryIdBuilder
impl UnsafeUnpin for UnprocessedNamedQueryIdBuilder
impl UnwindSafe for UnprocessedNamedQueryIdBuilder
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
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>
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>
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