pub struct AgentToAgentGetLinkCodesRequestData {
pub emid: MeshEntityKeychainMeshId,
pub lemid: LinkedEntityKeychainMeshId,
pub message: Option<WrappedMessage>,
pub link_info: Option<AgentMeshLinkInfo>,
pub via_external_id_requestor: Option<AgentToAgentGetLinkCodesViaExternalIdRequestorData>,
pub human_proxy_agent_id: Option<AgentIdWithEntityType>,
}
Expand description
Data an agent receives when it gets a get link codes request from another agent
Fields§
§emid: MeshEntityKeychainMeshId
§lemid: LinkedEntityKeychainMeshId
§message: Option<WrappedMessage>
§link_info: Option<AgentMeshLinkInfo>
§via_external_id_requestor: Option<AgentToAgentGetLinkCodesViaExternalIdRequestorData>
§human_proxy_agent_id: Option<AgentIdWithEntityType>
Implementations§
source§impl AgentToAgentGetLinkCodesRequestData
impl AgentToAgentGetLinkCodesRequestData
pub fn get_link_lemid( &self, agent_ids: &[MeshId], ) -> Option<LinkedEntityKeychainMeshId>
pub fn get_relationship( &self, agent_ids: &[MeshId], ) -> Option<&AgentMeshRelationshipAndPermissions>
pub fn get_link_info(&self) -> &Option<AgentMeshLinkInfo>
pub fn no_default_auth_handler(&self) -> bool
Trait Implementations§
source§impl Clone for AgentToAgentGetLinkCodesRequestData
impl Clone for AgentToAgentGetLinkCodesRequestData
source§fn clone(&self) -> AgentToAgentGetLinkCodesRequestData
fn clone(&self) -> AgentToAgentGetLinkCodesRequestData
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 AgentToAgentGetLinkCodesRequestData
impl RefUnwindSafe for AgentToAgentGetLinkCodesRequestData
impl Send for AgentToAgentGetLinkCodesRequestData
impl Sync for AgentToAgentGetLinkCodesRequestData
impl Unpin for AgentToAgentGetLinkCodesRequestData
impl UnwindSafe for AgentToAgentGetLinkCodesRequestData
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
)