MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-core/src/change/attestation.rs:733–743  ·  view source on GitHub ↗

Create a new agent identity.

(
        name: impl Into<String>,
        display_name: impl Into<String>,
        vendor: impl Into<String>,
    )

Source from the content-addressed store, hash-verified

731impl AttestAgent {
732 /// Create a new agent identity.
733 pub fn new(
734 name: impl Into<String>,
735 display_name: impl Into<String>,
736 vendor: impl Into<String>,
737 ) -> Self {
738 Self {
739 name: name.into(),
740 display_name: display_name.into(),
741 vendor: vendor.into(),
742 }
743 }
744}
745
746impl fmt::Display for AttestAgent {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected