pub enum SearchAttributeUpdateError {
Empty,
InvalidKey(String),
TooManyAttributes,
ValueTooLong {
key: String,
kind: &'static str,
limit: usize,
},
EmptyString(String),
NonFiniteFloat(String),
InvalidDateTime(String),
PayloadTooLarge,
}Expand description
Validation failure for a typed workflow search-attribute update.
Variants§
Empty
InvalidKey(String)
TooManyAttributes
ValueTooLong
EmptyString(String)
NonFiniteFloat(String)
InvalidDateTime(String)
PayloadTooLarge
Trait Implementations§
Source§impl Clone for SearchAttributeUpdateError
impl Clone for SearchAttributeUpdateError
Source§fn clone(&self) -> SearchAttributeUpdateError
fn clone(&self) -> SearchAttributeUpdateError
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 SearchAttributeUpdateError
impl Debug for SearchAttributeUpdateError
Source§impl Display for SearchAttributeUpdateError
impl Display for SearchAttributeUpdateError
Source§impl Error for SearchAttributeUpdateError
impl Error for SearchAttributeUpdateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<SearchAttributeUpdateError> for Error
impl From<SearchAttributeUpdateError> for Error
Source§fn from(source: SearchAttributeUpdateError) -> Self
fn from(source: SearchAttributeUpdateError) -> Self
Converts to this type from the input type.
impl Eq for SearchAttributeUpdateError
impl StructuralPartialEq for SearchAttributeUpdateError
Auto Trait Implementations§
impl Freeze for SearchAttributeUpdateError
impl RefUnwindSafe for SearchAttributeUpdateError
impl Send for SearchAttributeUpdateError
impl Sync for SearchAttributeUpdateError
impl Unpin for SearchAttributeUpdateError
impl UnwindSafe for SearchAttributeUpdateError
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