pub struct LegacyFunctionBuilder(/* private fields */);Expand description
Builder for LegacyFunction.
Implementations§
Source§impl LegacyFunctionBuilder
impl LegacyFunctionBuilder
pub fn description(self, value: impl Into<String>) -> Self
pub fn parameters(self, value: impl Into<Rest>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> LegacyFunction
pub fn build(self) -> LegacyFunction
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for LegacyFunctionBuilder
impl RefUnwindSafe for LegacyFunctionBuilder
impl Send for LegacyFunctionBuilder
impl Sync for LegacyFunctionBuilder
impl Unpin for LegacyFunctionBuilder
impl UnsafeUnpin for LegacyFunctionBuilder
impl UnwindSafe for LegacyFunctionBuilder
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