pub struct AgentToAgentLinkEntityViaDelegateRequestSessionData {Show 13 fields
pub emid: MeshEntityKeychainMeshId,
pub requestor_lemid: LinkedEntityKeychainMeshId,
pub requestor_alemid: AgentLinkedEntityKeychainMeshId,
pub requestor_agent_id: MeshId,
pub target_lemid: LinkedEntityKeychainMeshId,
pub target_alemid: AgentLinkedEntityKeychainMeshId,
pub target_agent_id: MeshId,
pub message: Option<WrappedMessage>,
pub requestor_link_info: Option<AgentMeshLinkInfo>,
pub delegate_link_info: Option<AgentMeshLinkInfo>,
pub delegate_lemid: LinkedEntityKeychainMeshId,
pub delegate_alemid: AgentLinkedEntityKeychainMeshId,
pub delegate_agent_id: MeshId,
}
Expand description
Data an agent receives when it gets a link via delegate request from another agent
Fields§
§emid: MeshEntityKeychainMeshId
§requestor_lemid: LinkedEntityKeychainMeshId
§requestor_alemid: AgentLinkedEntityKeychainMeshId
§requestor_agent_id: MeshId
§target_lemid: LinkedEntityKeychainMeshId
§target_alemid: AgentLinkedEntityKeychainMeshId
§target_agent_id: MeshId
§message: Option<WrappedMessage>
§requestor_link_info: Option<AgentMeshLinkInfo>
§delegate_link_info: Option<AgentMeshLinkInfo>
§delegate_lemid: LinkedEntityKeychainMeshId
§delegate_alemid: AgentLinkedEntityKeychainMeshId
§delegate_agent_id: MeshId
Implementations§
source§impl AgentToAgentLinkEntityViaDelegateRequestSessionData
impl AgentToAgentLinkEntityViaDelegateRequestSessionData
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 AgentToAgentLinkEntityViaDelegateRequestSessionData
impl Clone for AgentToAgentLinkEntityViaDelegateRequestSessionData
source§fn clone(&self) -> AgentToAgentLinkEntityViaDelegateRequestSessionData
fn clone(&self) -> AgentToAgentLinkEntityViaDelegateRequestSessionData
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 AgentToAgentLinkEntityViaDelegateRequestSessionData
impl RefUnwindSafe for AgentToAgentLinkEntityViaDelegateRequestSessionData
impl Send for AgentToAgentLinkEntityViaDelegateRequestSessionData
impl Sync for AgentToAgentLinkEntityViaDelegateRequestSessionData
impl Unpin for AgentToAgentLinkEntityViaDelegateRequestSessionData
impl UnwindSafe for AgentToAgentLinkEntityViaDelegateRequestSessionData
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
)