pub struct EntityGetResponse {
pub entity: EntityView,
pub resolved_from: Vec<WireUuid>,
}Expand description
ENTITY_GET_RESP (0x01B1).
Fields§
§entity: EntityView§resolved_from: Vec<WireUuid>Merge audit trail: the chain of redirect ids the GET walked through to
reach entity (the surviving row), in order, EXCLUDING the survivor
itself. Empty on a direct hit (the requested id was live). For
A → B → C, ENTITY_GET(A) returns entity = C and
resolved_from = [A, B]. Each id encodes as a CBOR array of 16 ints
(plain [u8; 16]), matching the server’s default serde encoding for
this field.
Trait Implementations§
Source§impl Clone for EntityGetResponse
impl Clone for EntityGetResponse
Source§impl Debug for EntityGetResponse
impl Debug for EntityGetResponse
Source§impl<'de> Deserialize<'de> for EntityGetResponse
impl<'de> Deserialize<'de> for EntityGetResponse
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 PartialEq for EntityGetResponse
impl PartialEq for EntityGetResponse
Source§impl Serialize for EntityGetResponse
impl Serialize for EntityGetResponse
impl StructuralPartialEq for EntityGetResponse
Auto Trait Implementations§
impl Freeze for EntityGetResponse
impl RefUnwindSafe for EntityGetResponse
impl Send for EntityGetResponse
impl Sync for EntityGetResponse
impl Unpin for EntityGetResponse
impl UnsafeUnpin for EntityGetResponse
impl UnwindSafe for EntityGetResponse
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