pub struct EntityResolveRequest {
pub candidate_name: String,
pub resolution_context: String,
pub entity_type_hint: u32,
pub allow_create: bool,
pub request_id: WireUuid,
pub act_as: Option<ActAs>,
}Expand description
ENTITY_RESOLVE (0x0136). Resolves a candidate name to an existing entity
(and optionally creates one). The server currently requires
entity_type_hint != 0 and resolves by exact canonical name (tier 1).
Fields§
§candidate_name: String§resolution_context: String§entity_type_hint: u320 = no hint; otherwise an entity type id.
allow_create: bool§request_id: WireUuid§act_as: Option<ActAs>Effective identity this resolve runs as. None (omitted on the wire)
means the op runs as the connection’s own key-bound identity. Honored
only when the connection principal holds the ACT_AS grant and the
target namespace is in its may_act allowlist.
Trait Implementations§
Source§impl Clone for EntityResolveRequest
impl Clone for EntityResolveRequest
Source§impl Debug for EntityResolveRequest
impl Debug for EntityResolveRequest
Source§impl<'de> Deserialize<'de> for EntityResolveRequest
impl<'de> Deserialize<'de> for EntityResolveRequest
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
impl Eq for EntityResolveRequest
Source§impl PartialEq for EntityResolveRequest
impl PartialEq for EntityResolveRequest
Source§impl Serialize for EntityResolveRequest
impl Serialize for EntityResolveRequest
impl StructuralPartialEq for EntityResolveRequest
Auto Trait Implementations§
impl Freeze for EntityResolveRequest
impl RefUnwindSafe for EntityResolveRequest
impl Send for EntityResolveRequest
impl Sync for EntityResolveRequest
impl Unpin for EntityResolveRequest
impl UnsafeUnpin for EntityResolveRequest
impl UnwindSafe for EntityResolveRequest
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