pub struct AlterTransactionAction {
    pub set_status_action: Option<Box<AlterTransactionSetStatus>>,
    pub set_property_action: Option<Box<AlterTransactionSetProperty>>,
    pub unset_property_action: Option<Box<AlterTransactionUnsetProperty>>,
}Expand description
AlterTransactionAction : A single action that could be performed to alter a transaction. This action holds the model definition for all types of specific actions models, this is to minimize difference and compatibility issue across codegen in different languages. When used, only one of the actions should be non-null for each action. If you would like to perform multiple actions, set a list of actions in the AlterTransactionRequest.
Fields§
§set_status_action: Option<Box<AlterTransactionSetStatus>>§set_property_action: Option<Box<AlterTransactionSetProperty>>§unset_property_action: Option<Box<AlterTransactionUnsetProperty>>Implementations§
Source§impl AlterTransactionAction
 
impl AlterTransactionAction
Sourcepub fn new() -> AlterTransactionAction
 
pub fn new() -> AlterTransactionAction
A single action that could be performed to alter a transaction. This action holds the model definition for all types of specific actions models, this is to minimize difference and compatibility issue across codegen in different languages. When used, only one of the actions should be non-null for each action. If you would like to perform multiple actions, set a list of actions in the AlterTransactionRequest.
Trait Implementations§
Source§impl Clone for AlterTransactionAction
 
impl Clone for AlterTransactionAction
Source§fn clone(&self) -> AlterTransactionAction
 
fn clone(&self) -> AlterTransactionAction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AlterTransactionAction
 
impl Debug for AlterTransactionAction
Source§impl Default for AlterTransactionAction
 
impl Default for AlterTransactionAction
Source§fn default() -> AlterTransactionAction
 
fn default() -> AlterTransactionAction
Source§impl<'de> Deserialize<'de> for AlterTransactionAction
 
impl<'de> Deserialize<'de> for AlterTransactionAction
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<AlterTransactionAction, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<AlterTransactionAction, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Source§impl PartialEq for AlterTransactionAction
 
impl PartialEq for AlterTransactionAction
Source§impl Serialize for AlterTransactionAction
 
impl Serialize for AlterTransactionAction
Source§fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
 
fn serialize<__S>(
    &self,
    __serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
    __S: Serializer,
impl StructuralPartialEq for AlterTransactionAction
Auto Trait Implementations§
impl Freeze for AlterTransactionAction
impl RefUnwindSafe for AlterTransactionAction
impl Send for AlterTransactionAction
impl Sync for AlterTransactionAction
impl Unpin for AlterTransactionAction
impl UnwindSafe for AlterTransactionAction
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