pub struct DbPtr<T: Object> {
pub id: Ulid,
/* private fields */
}
Fields§
§id: Ulid
Implementations§
Trait Implementations§
Source§impl<T: Object> DeepSizeOf for DbPtr<T>
impl<T: Object> DeepSizeOf for DbPtr<T>
Source§fn deep_size_of_children(&self, _context: &mut Context) -> usize
fn deep_size_of_children(&self, _context: &mut Context) -> usize
Returns an estimation of the heap-managed storage of this object.
This does not include the size of the object itself. Read more
Source§fn deep_size_of(&self) -> usize
fn deep_size_of(&self) -> usize
Returns an estimation of a total size of memory owned by the
object, including heap-managed storage. Read more
Source§impl<'de, T: Object> Deserialize<'de> for DbPtr<T>
impl<'de, T: Object> Deserialize<'de> for DbPtr<T>
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<T: Object> Ord for DbPtr<T>
impl<T: Object> Ord for DbPtr<T>
Source§impl<T: Object> PartialOrd for DbPtr<T>
impl<T: Object> PartialOrd for DbPtr<T>
impl<T: Object> Copy for DbPtr<T>
impl<T: Eq + Object> Eq for DbPtr<T>
impl<T: Object> StructuralPartialEq for DbPtr<T>
Auto Trait Implementations§
impl<T> Freeze for DbPtr<T>
impl<T> RefUnwindSafe for DbPtr<T>where
T: RefUnwindSafe,
impl<T> Send for DbPtr<T>
impl<T> Sync for DbPtr<T>
impl<T> Unpin for DbPtr<T>where
T: Unpin,
impl<T> UnwindSafe for DbPtr<T>where
T: UnwindSafe,
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