pub struct OpMetadataBuilder { /* private fields */ }Implementations§
Source§impl OpMetadataBuilder
impl OpMetadataBuilder
pub fn input_schema(self, schema: JsonValue) -> Self
pub fn reference_schema(self, schema: JsonValue) -> Self
pub fn output_schema(self, schema: JsonValue) -> Self
pub fn description(self, desc: impl Into<String>) -> Self
pub fn build(self) -> OpMetadata
Auto Trait Implementations§
impl Freeze for OpMetadataBuilder
impl RefUnwindSafe for OpMetadataBuilder
impl Send for OpMetadataBuilder
impl Sync for OpMetadataBuilder
impl Unpin for OpMetadataBuilder
impl UnsafeUnpin for OpMetadataBuilder
impl UnwindSafe for OpMetadataBuilder
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