pub struct SearchAttributeUpdate { /* private fields */ }Expand description
Validated typed workflow-side search-attribute mutation.
Implementations§
Source§impl SearchAttributeUpdate
impl SearchAttributeUpdate
pub fn new() -> Self
pub fn set( self, key: impl Into<String>, value: SearchAttributeValue, ) -> Result<Self, SearchAttributeUpdateError>
pub fn string( self, key: impl Into<String>, value: impl Into<String>, ) -> Result<Self, SearchAttributeUpdateError>
pub fn keyword( self, key: impl Into<String>, value: impl Into<String>, ) -> Result<Self, SearchAttributeUpdateError>
pub fn keyword_list<I, V>( self, key: impl Into<String>, values: I, ) -> Result<Self, SearchAttributeUpdateError>
pub fn int( self, key: impl Into<String>, value: i64, ) -> Result<Self, SearchAttributeUpdateError>
pub fn float( self, key: impl Into<String>, value: f64, ) -> Result<Self, SearchAttributeUpdateError>
pub fn bool( self, key: impl Into<String>, value: bool, ) -> Result<Self, SearchAttributeUpdateError>
pub fn datetime( self, key: impl Into<String>, value: impl Into<String>, ) -> Result<Self, SearchAttributeUpdateError>
pub fn delete( self, key: impl Into<String>, ) -> Result<Self, SearchAttributeUpdateError>
Trait Implementations§
Source§impl Clone for SearchAttributeUpdate
impl Clone for SearchAttributeUpdate
Source§fn clone(&self) -> SearchAttributeUpdate
fn clone(&self) -> SearchAttributeUpdate
Returns a copy 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 Debug for SearchAttributeUpdate
impl Debug for SearchAttributeUpdate
Source§impl Default for SearchAttributeUpdate
impl Default for SearchAttributeUpdate
Source§fn default() -> SearchAttributeUpdate
fn default() -> SearchAttributeUpdate
Returns the “default value” for a type. Read more
Source§impl PartialEq for SearchAttributeUpdate
impl PartialEq for SearchAttributeUpdate
impl StructuralPartialEq for SearchAttributeUpdate
Auto Trait Implementations§
impl Freeze for SearchAttributeUpdate
impl RefUnwindSafe for SearchAttributeUpdate
impl Send for SearchAttributeUpdate
impl Sync for SearchAttributeUpdate
impl Unpin for SearchAttributeUpdate
impl UnwindSafe for SearchAttributeUpdate
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