pub struct AgentToAgentEntityRequestData {
pub lemid: LinkedEntityKeychainMeshId,
pub alemid: AgentLinkedEntityKeychainMeshId,
pub emid: MeshEntityKeychainMeshId,
pub message: WrappedMessage,
pub link_info: Option<AgentMeshLinkInfo>,
}
Expand description
Data an agent receives when it gets an entity request from another agent
Fields§
§lemid: LinkedEntityKeychainMeshId
§alemid: AgentLinkedEntityKeychainMeshId
§emid: MeshEntityKeychainMeshId
§message: WrappedMessage
§link_info: Option<AgentMeshLinkInfo>
Implementations§
source§impl AgentToAgentEntityRequestData
impl AgentToAgentEntityRequestData
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 AgentToAgentEntityRequestData
impl Clone for AgentToAgentEntityRequestData
source§fn clone(&self) -> AgentToAgentEntityRequestData
fn clone(&self) -> AgentToAgentEntityRequestData
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 AgentToAgentEntityRequestData
impl RefUnwindSafe for AgentToAgentEntityRequestData
impl Send for AgentToAgentEntityRequestData
impl Sync for AgentToAgentEntityRequestData
impl Unpin for AgentToAgentEntityRequestData
impl UnwindSafe for AgentToAgentEntityRequestData
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
)