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