pub struct Property {
pub schema: Schema,
pub documentation: String,
pub sensitive: bool,
pub secret: bool,
pub aliases: Vec<String>,
}Expand description
Schema and host metadata for an object property.
Fields§
§schema: SchemaValue schema for the property.
documentation: StringHuman-readable guidance for tool callers.
sensitive: boolWhether observability systems should treat the value as sensitive.
secret: boolWhether the value is a secret that must not be exposed.
aliases: Vec<String>Alternative names accepted by a host adapter.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Property
impl<'de> Deserialize<'de> for Property
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 StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnsafeUnpin for Property
impl UnwindSafe for Property
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