pub struct MockEntity {
pub id: u32,
pub txt: String,
}Fields§
§id: u32§txt: StringTrait Implementations§
Source§impl Debug for MockEntity
impl Debug for MockEntity
Source§impl<'de> Deserialize<'de> for MockEntity
impl<'de> Deserialize<'de> for MockEntity
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl SearchableElement for MockEntity
impl SearchableElement for MockEntity
Auto Trait Implementations§
impl Freeze for MockEntity
impl RefUnwindSafe for MockEntity
impl Send for MockEntity
impl Sync for MockEntity
impl Unpin for MockEntity
impl UnwindSafe for MockEntity
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