pub struct ExternalId { /* private fields */ }Expand description
Opaque host-provided ID used for idempotency and echo reconciliation.
Hosts can use their own source namespaces, such as host-event or
agent-task. The core client treats this as metadata and does not depend on
host-specific semantics.
Implementations§
Source§impl ExternalId
impl ExternalId
Sourcepub const MAX_SOURCE_LEN: usize = 64
pub const MAX_SOURCE_LEN: usize = 64
Maximum source namespace length in bytes.
Sourcepub const MAX_ID_LEN: usize = 512
pub const MAX_ID_LEN: usize = 512
Maximum external ID length in bytes.
Trait Implementations§
Source§impl Clone for ExternalId
impl Clone for ExternalId
Source§fn clone(&self) -> ExternalId
fn clone(&self) -> ExternalId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalId
impl Debug for ExternalId
Source§impl<'de> Deserialize<'de> for ExternalId
impl<'de> Deserialize<'de> for ExternalId
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
impl Eq for ExternalId
Source§impl Hash for ExternalId
impl Hash for ExternalId
Source§impl PartialEq for ExternalId
impl PartialEq for ExternalId
Source§fn eq(&self, other: &ExternalId) -> bool
fn eq(&self, other: &ExternalId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExternalId
impl Serialize for ExternalId
impl StructuralPartialEq for ExternalId
Auto Trait Implementations§
impl Freeze for ExternalId
impl RefUnwindSafe for ExternalId
impl Send for ExternalId
impl Sync for ExternalId
impl Unpin for ExternalId
impl UnsafeUnpin for ExternalId
impl UnwindSafe for ExternalId
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