#[non_exhaustive]pub struct CancelledChangePropertyBuilder { /* private fields */ }
Expand description
A builder for CancelledChangeProperty
.
Implementations§
source§impl CancelledChangePropertyBuilder
impl CancelledChangePropertyBuilder
sourcepub fn property_name(self, input: impl Into<String>) -> Self
pub fn property_name(self, input: impl Into<String>) -> Self
The name of the property whose change was cancelled.
sourcepub fn set_property_name(self, input: Option<String>) -> Self
pub fn set_property_name(self, input: Option<String>) -> Self
The name of the property whose change was cancelled.
sourcepub fn get_property_name(&self) -> &Option<String>
pub fn get_property_name(&self) -> &Option<String>
The name of the property whose change was cancelled.
sourcepub fn cancelled_value(self, input: impl Into<String>) -> Self
pub fn cancelled_value(self, input: impl Into<String>) -> Self
The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
sourcepub fn set_cancelled_value(self, input: Option<String>) -> Self
pub fn set_cancelled_value(self, input: Option<String>) -> Self
The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
sourcepub fn get_cancelled_value(&self) -> &Option<String>
pub fn get_cancelled_value(&self) -> &Option<String>
The pending value of the property that was cancelled. This would have been the eventual value of the property if the chance had not been cancelled.
sourcepub fn active_value(self, input: impl Into<String>) -> Self
pub fn active_value(self, input: impl Into<String>) -> Self
The current value of the property, after the change was cancelled.
sourcepub fn set_active_value(self, input: Option<String>) -> Self
pub fn set_active_value(self, input: Option<String>) -> Self
The current value of the property, after the change was cancelled.
sourcepub fn get_active_value(&self) -> &Option<String>
pub fn get_active_value(&self) -> &Option<String>
The current value of the property, after the change was cancelled.
sourcepub fn build(self) -> CancelledChangeProperty
pub fn build(self) -> CancelledChangeProperty
Consumes the builder and constructs a CancelledChangeProperty
.
Trait Implementations§
source§impl Clone for CancelledChangePropertyBuilder
impl Clone for CancelledChangePropertyBuilder
source§fn clone(&self) -> CancelledChangePropertyBuilder
fn clone(&self) -> CancelledChangePropertyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CancelledChangePropertyBuilder
impl Default for CancelledChangePropertyBuilder
source§fn default() -> CancelledChangePropertyBuilder
fn default() -> CancelledChangePropertyBuilder
source§impl PartialEq for CancelledChangePropertyBuilder
impl PartialEq for CancelledChangePropertyBuilder
source§fn eq(&self, other: &CancelledChangePropertyBuilder) -> bool
fn eq(&self, other: &CancelledChangePropertyBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CancelledChangePropertyBuilder
Auto Trait Implementations§
impl Freeze for CancelledChangePropertyBuilder
impl RefUnwindSafe for CancelledChangePropertyBuilder
impl Send for CancelledChangePropertyBuilder
impl Sync for CancelledChangePropertyBuilder
impl Unpin for CancelledChangePropertyBuilder
impl UnwindSafe for CancelledChangePropertyBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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