#[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 ==
.