pub struct ToolSchemaSnapshot {
pub schema_ref: PackageSidecarRef,
pub redacted_schema: Value,
pub content_hash: String,
}Expand description
Provider-safe schema snapshot for a typed tool.
Fields§
§schema_ref: PackageSidecarRefSchema sidecar ref with content hash populated.
redacted_schema: ValueRedacted schema body.
content_hash: StringHash of the normalized schema body.
Trait Implementations§
Source§impl Clone for ToolSchemaSnapshot
impl Clone for ToolSchemaSnapshot
Source§fn clone(&self) -> ToolSchemaSnapshot
fn clone(&self) -> ToolSchemaSnapshot
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 ToolSchemaSnapshot
impl Debug for ToolSchemaSnapshot
impl Eq for ToolSchemaSnapshot
Source§impl PartialEq for ToolSchemaSnapshot
impl PartialEq for ToolSchemaSnapshot
Source§fn eq(&self, other: &ToolSchemaSnapshot) -> bool
fn eq(&self, other: &ToolSchemaSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToolSchemaSnapshot
Auto Trait Implementations§
impl Freeze for ToolSchemaSnapshot
impl RefUnwindSafe for ToolSchemaSnapshot
impl Send for ToolSchemaSnapshot
impl Sync for ToolSchemaSnapshot
impl Unpin for ToolSchemaSnapshot
impl UnsafeUnpin for ToolSchemaSnapshot
impl UnwindSafe for ToolSchemaSnapshot
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.