pub struct ContractRegistry {
pub operation_count: usize,
pub operations: Vec<OperationDescriptorSeed>,
pub path_count: usize,
pub schema_count: usize,
pub schemas: Vec<String>,
pub tags: Vec<String>,
}Expand description
Normalized contract registry used by code generation and verification tests.
Fields§
§operation_count: usizeNumber of documented operations.
operations: Vec<OperationDescriptorSeed>Generated operation descriptors.
path_count: usizeNumber of documented paths.
schema_count: usizeNumber of documented schemas.
schemas: Vec<String>Generated schema names.
Generated tag names.
Trait Implementations§
Source§impl Clone for ContractRegistry
impl Clone for ContractRegistry
Source§fn clone(&self) -> ContractRegistry
fn clone(&self) -> ContractRegistry
Returns a duplicate of the value. Read more
1.0.0 · 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 ContractRegistry
impl Debug for ContractRegistry
Source§impl PartialEq for ContractRegistry
impl PartialEq for ContractRegistry
impl Eq for ContractRegistry
impl StructuralPartialEq for ContractRegistry
Auto Trait Implementations§
impl Freeze for ContractRegistry
impl RefUnwindSafe for ContractRegistry
impl Send for ContractRegistry
impl Sync for ContractRegistry
impl Unpin for ContractRegistry
impl UnsafeUnpin for ContractRegistry
impl UnwindSafe for ContractRegistry
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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
Compares
self with key and returns true if they are equal.