pub struct OperationSchema {
pub name: String,
pub required_designations: Vec<String>,
}Expand description
The schema for a single operation on a target.
Fields§
§name: StringThe operation name (e.g., "read", "invoke").
required_designations: Vec<String>Designation labels that must be attached at mint time for this operation. Excludes reserved labels (anchor, etc.), which are enforced through dedicated engine paths.
Trait Implementations§
Source§impl Clone for OperationSchema
impl Clone for OperationSchema
Source§fn clone(&self) -> OperationSchema
fn clone(&self) -> OperationSchema
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 OperationSchema
impl Debug for OperationSchema
Source§impl<'de> Deserialize<'de> for OperationSchema
impl<'de> Deserialize<'de> for OperationSchema
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
Auto Trait Implementations§
impl Freeze for OperationSchema
impl RefUnwindSafe for OperationSchema
impl Send for OperationSchema
impl Sync for OperationSchema
impl Unpin for OperationSchema
impl UnsafeUnpin for OperationSchema
impl UnwindSafe for OperationSchema
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