oa::OpAttributeSpec

Ordered schema declaration for one operation attribute.

StRust public API

Declaration

pub struct OpAttributeSpec { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn name(self) -> &'static str
pub const fn kind(self) -> OpAttributeKind
fn clone(&self) -> OpAttributeSpec
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &OpAttributeSpec) -> bool

Associated Functions

pub const fn new(name: &'static str, kind: OpAttributeKind) -> Self

Public Method Documentation

pub const fn name( self ) -> &'static str
No public source comment is attached to this declaration.
pub const fn kind( self ) -> OpAttributeKind
No public source comment is attached to this declaration.
fn clone( &self ) -> OpAttributeSpec
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &OpAttributeSpec ) -> bool
No public source comment is attached to this declaration.
pub const fn new( name: &'static str, kind: OpAttributeKind ) -> Self
No public source comment is attached to this declaration.