pub trait OperationSignatures {
// Required method
fn operation_signatures(&self) -> Vec<OperationSignature>;
// Provided method
fn get_operation_signature(&self, name: &str) -> Option<OperationSignature> { ... }
}
Expand description
A trait for objects that contain or can generate operation signatures.
Required Methods§
Sourcefn operation_signatures(&self) -> Vec<OperationSignature>
fn operation_signatures(&self) -> Vec<OperationSignature>
Get a list of operations hosted by the implementer.
Provided Methods§
Sourcefn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>
Get an operation signature by name.