pub struct UnsetFunctionsError<'a> {
pub name: &'a Field,
pub read_only_location: Location,
}Expand description
Error returned by unset_functions.
Fields§
§name: &'a FieldThe name of the function
read_only_location: LocationThe location where the function was made read-only
Implementations§
Trait Implementations§
Source§impl<'a> Clone for UnsetFunctionsError<'a>
impl<'a> Clone for UnsetFunctionsError<'a>
Source§fn clone(&self) -> UnsetFunctionsError<'a>
fn clone(&self) -> UnsetFunctionsError<'a>
Returns a duplicate 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<'a> Debug for UnsetFunctionsError<'a>
impl<'a> Debug for UnsetFunctionsError<'a>
Source§impl<'a> Display for UnsetFunctionsError<'a>
impl<'a> Display for UnsetFunctionsError<'a>
Source§impl<'a> Error for UnsetFunctionsError<'a>
impl<'a> Error for UnsetFunctionsError<'a>
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<'a> From<&'a UnsetFunctionsError<'_>> for Report<'a>
impl<'a> From<&'a UnsetFunctionsError<'_>> for Report<'a>
Source§fn from(error: &'a UnsetFunctionsError<'_>) -> Self
fn from(error: &'a UnsetFunctionsError<'_>) -> Self
Converts to this type from the input type.
Source§impl<'a> PartialEq for UnsetFunctionsError<'a>
impl<'a> PartialEq for UnsetFunctionsError<'a>
impl<'a> Eq for UnsetFunctionsError<'a>
impl<'a> StructuralPartialEq for UnsetFunctionsError<'a>
Auto Trait Implementations§
impl<'a> Freeze for UnsetFunctionsError<'a>
impl<'a> !RefUnwindSafe for UnsetFunctionsError<'a>
impl<'a> !Send for UnsetFunctionsError<'a>
impl<'a> !Sync for UnsetFunctionsError<'a>
impl<'a> Unpin for UnsetFunctionsError<'a>
impl<'a> UnsafeUnpin for UnsetFunctionsError<'a>
impl<'a> !UnwindSafe for UnsetFunctionsError<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more