pub struct SchemaPayloadBuilder { /* private fields */ }
Expand description
Builder used to create a Schema payload
Implementations§
Source§impl SchemaPayloadBuilder
impl SchemaPayloadBuilder
pub fn new() -> Self
pub fn with_action(self, action: Action) -> SchemaPayloadBuilder
pub fn build(self) -> Result<SchemaPayload, SchemaPayloadBuildError>
Trait Implementations§
Source§impl Clone for SchemaPayloadBuilder
impl Clone for SchemaPayloadBuilder
Source§fn clone(&self) -> SchemaPayloadBuilder
fn clone(&self) -> SchemaPayloadBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for SchemaPayloadBuilder
impl Default for SchemaPayloadBuilder
Source§fn default() -> SchemaPayloadBuilder
fn default() -> SchemaPayloadBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SchemaPayloadBuilder
impl RefUnwindSafe for SchemaPayloadBuilder
impl Send for SchemaPayloadBuilder
impl Sync for SchemaPayloadBuilder
impl Unpin for SchemaPayloadBuilder
impl UnwindSafe for SchemaPayloadBuilder
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