pub struct EntityId(/* private fields */);Expand description
Defines the entity id SDK value. Construction records local state only; documented runtimes, executors, or ports own side effects.
Implementations§
Source§impl EntityId
impl EntityId
Sourcepub fn new(value: impl Into<String>) -> Self
pub fn new(value: impl Into<String>) -> Self
Creates a new domain::refs value with explicit caller-provided inputs. This constructor is data-only and performs no I/O or external side effects.
§Panics
Panics if constructor invariants fail, such as invalid identifier
text or constructor-specific bounds. Use a fallible constructor such as
try_new when one is available for untrusted input.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EntityId
impl<'de> Deserialize<'de> for EntityId
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<AgentPoolId> for EntityId
impl From<AgentPoolId> for EntityId
Source§fn from(value: AgentPoolId) -> Self
fn from(value: AgentPoolId) -> Self
Converts to this type from the input type.
Source§impl From<ApprovalRequestId> for EntityId
impl From<ApprovalRequestId> for EntityId
Source§fn from(value: ApprovalRequestId) -> Self
fn from(value: ApprovalRequestId) -> Self
Converts to this type from the input type.
Source§impl From<ArtifactId> for EntityId
impl From<ArtifactId> for EntityId
Source§fn from(value: ArtifactId) -> Self
fn from(value: ArtifactId) -> Self
Converts to this type from the input type.
Source§impl From<ContextItemId> for EntityId
impl From<ContextItemId> for EntityId
Source§fn from(value: ContextItemId) -> Self
fn from(value: ContextItemId) -> Self
Converts to this type from the input type.
Source§impl From<ContextProjectionId> for EntityId
impl From<ContextProjectionId> for EntityId
Source§fn from(value: ContextProjectionId) -> Self
fn from(value: ContextProjectionId) -> Self
Converts to this type from the input type.
Source§impl From<RuntimePackageId> for EntityId
impl From<RuntimePackageId> for EntityId
Source§fn from(value: RuntimePackageId) -> Self
fn from(value: RuntimePackageId) -> Self
Converts to this type from the input type.
Source§impl From<ToolCallId> for EntityId
impl From<ToolCallId> for EntityId
Source§fn from(value: ToolCallId) -> Self
fn from(value: ToolCallId) -> Self
Converts to this type from the input type.
Source§impl From<WakeConditionId> for EntityId
impl From<WakeConditionId> for EntityId
Source§fn from(value: WakeConditionId) -> Self
fn from(value: WakeConditionId) -> Self
Converts to this type from the input type.
Source§impl Ord for EntityId
impl Ord for EntityId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for EntityId
impl PartialOrd for EntityId
impl Eq for EntityId
impl StructuralPartialEq for EntityId
Auto Trait Implementations§
impl Freeze for EntityId
impl RefUnwindSafe for EntityId
impl Send for EntityId
impl Sync for EntityId
impl Unpin for EntityId
impl UnsafeUnpin for EntityId
impl UnwindSafe for EntityId
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