Trait OperationSignatures

Source
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§

Source

fn operation_signatures(&self) -> Vec<OperationSignature>

Get a list of operations hosted by the implementer.

Provided Methods§

Source

fn get_operation_signature(&self, name: &str) -> Option<OperationSignature>

Get an operation signature by name.

Implementors§