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§impl Debug for SearchAttributeUpdate
impl Debug for SearchAttributeUpdate
Source§impl Default for SearchAttributeUpdate
impl Default for SearchAttributeUpdate
Source§impl PartialEq for SearchAttributeUpdate
impl PartialEq for SearchAttributeUpdate
impl StructuralPartialEq for SearchAttributeUpdate
Auto Trait Implementations§
impl Forget for SearchAttributeUpdate
impl Freeze for SearchAttributeUpdatewhere
*const LeafNode<String, SearchAttributeValue> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, SearchAttributeValue)>>: Freeze,
impl Move for SearchAttributeUpdate
impl RefUnwindSafe for SearchAttributeUpdate
impl Send for SearchAttributeUpdatewhere
NodeRef<Owned, String, SearchAttributeValue, LeafOrInternal>: Send,
BoxRaw<(String, SearchAttributeValue)>: Send,
impl Sync for SearchAttributeUpdatewhere
NodeRef<Owned, String, SearchAttributeValue, LeafOrInternal>: Sync,
BoxRaw<(String, SearchAttributeValue)>: Sync,
impl Unpin for SearchAttributeUpdatewhere
*const LeafNode<String, SearchAttributeValue> is !null: Unpin,
Box<(String, SearchAttributeValue)>: Unpin,
impl UnsafeUnpin for SearchAttributeUpdatewhere
*const LeafNode<String, SearchAttributeValue> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, SearchAttributeValue)>>: UnsafeUnpin,
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