pub struct AgentToAgentLinkEntityViaDelegateRequestData {
pub emid: MeshEntityKeychainMeshId,
pub entity_type: MeshEntityType,
pub requestor_lemid_to_be_created: LinkedEntityKeychainMeshId,
pub requestor_alemid_to_be_created: AgentLinkedEntityKeychainMeshId,
pub requestor_agent_id: MeshId,
pub requestor_link_info: Option<AgentMeshLinkInfo>,
pub delegate_link_info: Option<AgentMeshLinkInfo>,
pub message: Option<WrappedMessage>,
pub delegate_lemid: LinkedEntityKeychainMeshId,
pub is_link_to_session: bool,
}
Expand description
Data an agent receives when it gets a link entity request from another agent
Fields§
§emid: MeshEntityKeychainMeshId
§entity_type: MeshEntityType
§requestor_lemid_to_be_created: LinkedEntityKeychainMeshId
§requestor_alemid_to_be_created: AgentLinkedEntityKeychainMeshId
§requestor_agent_id: MeshId
§requestor_link_info: Option<AgentMeshLinkInfo>
§delegate_link_info: Option<AgentMeshLinkInfo>
§message: Option<WrappedMessage>
§delegate_lemid: LinkedEntityKeychainMeshId
§is_link_to_session: bool
Implementations§
source§impl AgentToAgentLinkEntityViaDelegateRequestData
impl AgentToAgentLinkEntityViaDelegateRequestData
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 AgentToAgentLinkEntityViaDelegateRequestData
impl Clone for AgentToAgentLinkEntityViaDelegateRequestData
source§fn clone(&self) -> AgentToAgentLinkEntityViaDelegateRequestData
fn clone(&self) -> AgentToAgentLinkEntityViaDelegateRequestData
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 AgentToAgentLinkEntityViaDelegateRequestData
impl RefUnwindSafe for AgentToAgentLinkEntityViaDelegateRequestData
impl Send for AgentToAgentLinkEntityViaDelegateRequestData
impl Sync for AgentToAgentLinkEntityViaDelegateRequestData
impl Unpin for AgentToAgentLinkEntityViaDelegateRequestData
impl UnwindSafe for AgentToAgentLinkEntityViaDelegateRequestData
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
)