pub struct AgentToAgentLinkEntityRequestData {
pub link_request_id: LinkRequestId,
pub emid: MeshEntityKeychainMeshId,
pub entity_type: MeshEntityType,
pub lemid_to_be_created: LinkedEntityKeychainMeshId,
pub alemid_to_be_created: AgentLinkedEntityKeychainMeshId,
pub requestor_agent_id: MeshId,
pub message: Option<WrappedMessage>,
pub is_new_entity: bool,
pub link_info: Option<AgentMeshLinkInfo>,
pub invite_links: Option<Vec<AgentToAgentLinkEntityInviteLink>>,
pub is_link_to_session: bool,
pub via_external_id_requestor: Option<AgentToAgentGetLinkCodesViaExternalIdRequestorData>,
}
Expand description
Data an agent receives when it gets a request from a trustee or another agent
Fields§
§link_request_id: LinkRequestId
§emid: MeshEntityKeychainMeshId
§entity_type: MeshEntityType
§lemid_to_be_created: LinkedEntityKeychainMeshId
§alemid_to_be_created: AgentLinkedEntityKeychainMeshId
§requestor_agent_id: MeshId
§message: Option<WrappedMessage>
§is_new_entity: bool
§link_info: Option<AgentMeshLinkInfo>
§invite_links: Option<Vec<AgentToAgentLinkEntityInviteLink>>
§is_link_to_session: bool
§via_external_id_requestor: Option<AgentToAgentGetLinkCodesViaExternalIdRequestorData>
Implementations§
source§impl AgentToAgentLinkEntityRequestData
impl AgentToAgentLinkEntityRequestData
pub fn get_link_lemid( &self, agent_ids: &[MeshId], ) -> Option<LinkedEntityKeychainMeshId>
pub fn get_relationship( &self, agent_ids: &[MeshId], ) -> Option<&AgentMeshRelationshipAndPermissions>
source§impl AgentToAgentLinkEntityRequestData
impl AgentToAgentLinkEntityRequestData
pub fn no_default_auth_handler(&self) -> bool
pub fn get_link_info(&self) -> &Option<AgentMeshLinkInfo>
Trait Implementations§
source§impl Clone for AgentToAgentLinkEntityRequestData
impl Clone for AgentToAgentLinkEntityRequestData
source§fn clone(&self) -> AgentToAgentLinkEntityRequestData
fn clone(&self) -> AgentToAgentLinkEntityRequestData
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 AgentToAgentLinkEntityRequestData
impl RefUnwindSafe for AgentToAgentLinkEntityRequestData
impl Send for AgentToAgentLinkEntityRequestData
impl Sync for AgentToAgentLinkEntityRequestData
impl Unpin for AgentToAgentLinkEntityRequestData
impl UnwindSafe for AgentToAgentLinkEntityRequestData
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
)