Struct spacetimedb_sats::product_value::InvalidFieldError
source · pub struct InvalidFieldError {
pub col_pos: ColId,
pub name: Option<&'static str>,
}
Expand description
An error that occurs when a field, of a product value, is accessed that doesn’t exist.
Fields§
§col_pos: ColId
The claimed col_pos of the field within the product value.
name: Option<&'static str>
The name of the field, if any.
Trait Implementations§
source§impl Clone for InvalidFieldError
impl Clone for InvalidFieldError
source§fn clone(&self) -> InvalidFieldError
fn clone(&self) -> InvalidFieldError
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 InvalidFieldError
impl Debug for InvalidFieldError
source§impl Display for InvalidFieldError
impl Display for InvalidFieldError
source§impl Error for InvalidFieldError
impl Error for InvalidFieldError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<InvalidFieldError> for LibError
impl From<InvalidFieldError> for LibError
source§fn from(source: InvalidFieldError) -> Self
fn from(source: InvalidFieldError) -> Self
Converts to this type from the input type.
impl Copy for InvalidFieldError
Auto Trait Implementations§
impl RefUnwindSafe for InvalidFieldError
impl Send for InvalidFieldError
impl Sync for InvalidFieldError
impl Unpin for InvalidFieldError
impl UnwindSafe for InvalidFieldError
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