pub struct AgenticSystemDigest(/* private fields */);Expand description
SHA-256 identity of one revision of an agentic system design.
Implementations§
Source§impl AgenticSystemDigest
impl AgenticSystemDigest
pub const fn from_bytes(bytes: [u8; 32]) -> Self
pub fn parse_hex(value: &str) -> Result<Self, DomainError>
Sourcepub fn of_canonical_form(canonical: &[u8]) -> Self
pub fn of_canonical_form(canonical: &[u8]) -> Self
Seal a canonical encoding of the design into a digest.
pub const fn as_bytes(&self) -> &[u8; 32]
pub fn to_hex(self) -> String
Trait Implementations§
Source§impl Clone for AgenticSystemDigest
impl Clone for AgenticSystemDigest
impl Copy for AgenticSystemDigest
Source§impl Debug for AgenticSystemDigest
impl Debug for AgenticSystemDigest
Source§impl<'de> Deserialize<'de> for AgenticSystemDigest
impl<'de> Deserialize<'de> for AgenticSystemDigest
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 Display for AgenticSystemDigest
impl Display for AgenticSystemDigest
impl Eq for AgenticSystemDigest
Source§impl Hash for AgenticSystemDigest
impl Hash for AgenticSystemDigest
Source§impl Ord for AgenticSystemDigest
impl Ord for AgenticSystemDigest
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AgenticSystemDigest
impl PartialEq for AgenticSystemDigest
Source§impl PartialOrd for AgenticSystemDigest
impl PartialOrd for AgenticSystemDigest
Source§impl Serialize for AgenticSystemDigest
impl Serialize for AgenticSystemDigest
impl StructuralPartialEq for AgenticSystemDigest
Auto Trait Implementations§
impl Freeze for AgenticSystemDigest
impl RefUnwindSafe for AgenticSystemDigest
impl Send for AgenticSystemDigest
impl Sync for AgenticSystemDigest
impl Unpin for AgenticSystemDigest
impl UnsafeUnpin for AgenticSystemDigest
impl UnwindSafe for AgenticSystemDigest
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