pub struct UnexpectedObjectType {
pub id: ObjectId,
pub expected: ObjectType,
pub received: ObjectType,
}Fields§
§id: ObjectId§expected: ObjectType§received: ObjectTypeTrait Implementations§
Source§impl Debug for UnexpectedObjectType
impl Debug for UnexpectedObjectType
Source§impl From<UnexpectedObjectType> for Error
impl From<UnexpectedObjectType> for Error
Source§fn from(value: UnexpectedObjectType) -> Self
fn from(value: UnexpectedObjectType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for UnexpectedObjectType
impl RefUnwindSafe for UnexpectedObjectType
impl Send for UnexpectedObjectType
impl Sync for UnexpectedObjectType
impl Unpin for UnexpectedObjectType
impl UnsafeUnpin for UnexpectedObjectType
impl UnwindSafe for UnexpectedObjectType
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