Struct bonsaidb::core::schema::InvalidNameError
source · pub struct InvalidNameError(pub String);
Expand description
A name was unable to e parsed.
Tuple Fields§
§0: String
Trait Implementations§
source§impl Clone for InvalidNameError
impl Clone for InvalidNameError
source§fn clone(&self) -> InvalidNameError
fn clone(&self) -> InvalidNameError
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 InvalidNameError
impl Debug for InvalidNameError
source§impl<'de> Deserialize<'de> for InvalidNameError
impl<'de> Deserialize<'de> for InvalidNameError
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<InvalidNameError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<InvalidNameError, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for InvalidNameError
impl Display for InvalidNameError
source§impl Error for InvalidNameError
impl Error for InvalidNameError
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<E> From<InvalidNameError> for BackendError<E>
impl<E> From<InvalidNameError> for BackendError<E>
source§fn from(err: InvalidNameError) -> BackendError<E>
fn from(err: InvalidNameError) -> BackendError<E>
Converts to this type from the input type.
source§impl From<InvalidNameError> for Error
impl From<InvalidNameError> for Error
source§fn from(source: InvalidNameError) -> Error
fn from(source: InvalidNameError) -> Error
Converts to this type from the input type.
source§impl From<InvalidNameError> for Error
impl From<InvalidNameError> for Error
source§fn from(err: InvalidNameError) -> Error
fn from(err: InvalidNameError) -> Error
Converts to this type from the input type.
source§impl From<InvalidNameError> for Error
impl From<InvalidNameError> for Error
source§fn from(err: InvalidNameError) -> Error
fn from(err: InvalidNameError) -> Error
Converts to this type from the input type.
source§impl<E> From<InvalidNameError> for HandlerError<E>where
E: ApiError,
impl<E> From<InvalidNameError> for HandlerError<E>where
E: ApiError,
source§fn from(err: InvalidNameError) -> HandlerError<E>
fn from(err: InvalidNameError) -> HandlerError<E>
Converts to this type from the input type.
source§impl Serialize for InvalidNameError
impl Serialize for InvalidNameError
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,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for InvalidNameError
impl Send for InvalidNameError
impl Sync for InvalidNameError
impl Unpin for InvalidNameError
impl UnwindSafe for InvalidNameError
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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