pub struct Heap {
pub heap_type: Option<String>,
pub id: Option<u64>,
}Expand description
A reference to a heap instance.
A given heap instance can have more than one Heap which can be used to
refer to the heap instance. Comparing Heap tables without knowledge of
these Heap aliases is not a reliable way to determine if two Heap tables
refer to the same heap (matching means yes, but not matching means maybe).
Allowing heap aliases makes renaming Heap.type(s) easier.
Fields§
§heap_type: Option<String>§id: Option<u64>Trait Implementations§
Source§impl<'a, ___E> Encode<Heap<'static>, ___E> for &'a Heapwhere
___E: Encoder + ?Sized,
impl<'a, ___E> Encode<Heap<'static>, ___E> for &'a Heapwhere
___E: Encoder + ?Sized,
Source§impl<___E> Encode<Heap<'static>, ___E> for Heapwhere
___E: Encoder + ?Sized,
impl<___E> Encode<Heap<'static>, ___E> for Heapwhere
___E: Encoder + ?Sized,
Source§impl<'de> FromWireRef<Heap<'de>> for Heap
impl<'de> FromWireRef<Heap<'de>> for Heap
Source§fn from_wire_ref(wire: &Heap<'de>) -> Self
fn from_wire_ref(wire: &Heap<'de>) -> Self
Converts the given reference to this type.
Source§impl Ord for Heap
impl Ord for Heap
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Heap
impl PartialOrd for Heap
impl Eq for Heap
impl StructuralPartialEq for Heap
Auto Trait Implementations§
impl Freeze for Heap
impl RefUnwindSafe for Heap
impl Send for Heap
impl Sync for Heap
impl Unpin for Heap
impl UnsafeUnpin for Heap
impl UnwindSafe for Heap
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,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]