pub struct AgentToAgentLinkEntityPostCreateRequestData {
pub emid: MeshEntityKeychainMeshId,
pub lemid: LinkedEntityKeychainMeshId,
pub alemid: AgentLinkedEntityKeychainMeshId,
pub link_info: Option<AgentMeshLinkInfo>,
pub requestor_agent_id: MeshId,
pub is_new_entity: bool,
}
Expand description
Data an agent receives when it gets a link entity request from another agent
Fields§
§emid: MeshEntityKeychainMeshId
§lemid: LinkedEntityKeychainMeshId
§alemid: AgentLinkedEntityKeychainMeshId
§link_info: Option<AgentMeshLinkInfo>
§requestor_agent_id: MeshId
§is_new_entity: bool
Implementations§
source§impl AgentToAgentLinkEntityPostCreateRequestData
impl AgentToAgentLinkEntityPostCreateRequestData
pub fn get_link_lemid( &self, agent_ids: &[MeshId], ) -> Option<LinkedEntityKeychainMeshId>
pub fn get_relationship( &self, agent_ids: &[MeshId], ) -> Option<&AgentMeshRelationshipAndPermissions>
Trait Implementations§
source§impl Clone for AgentToAgentLinkEntityPostCreateRequestData
impl Clone for AgentToAgentLinkEntityPostCreateRequestData
source§fn clone(&self) -> AgentToAgentLinkEntityPostCreateRequestData
fn clone(&self) -> AgentToAgentLinkEntityPostCreateRequestData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AgentToAgentLinkEntityPostCreateRequestData
impl RefUnwindSafe for AgentToAgentLinkEntityPostCreateRequestData
impl Send for AgentToAgentLinkEntityPostCreateRequestData
impl Sync for AgentToAgentLinkEntityPostCreateRequestData
impl Unpin for AgentToAgentLinkEntityPostCreateRequestData
impl UnwindSafe for AgentToAgentLinkEntityPostCreateRequestData
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)