pub struct PutSchemaRequestBuilder { /* private fields */ }
Expand description
Builder for PutSchemaRequest
.
Implementations§
Source§impl PutSchemaRequestBuilder
impl PutSchemaRequestBuilder
Sourcepub fn description<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn description<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Human-readable description of the schema.
Sourcepub fn display_name<VALUE: Into<Option<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn display_name<VALUE: Into<Option<String>>>( &mut self, value: VALUE, ) -> &mut Self
Human-readable display name.
Sourcepub fn format<VALUE: Into<Format>>(&mut self, value: VALUE) -> &mut Self
pub fn format<VALUE: Into<Format>>(&mut self, value: VALUE) -> &mut Self
The format of the schema.
Sourcepub fn schema_content<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn schema_content<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Content stored in the schema.
Sourcepub fn schema_type<VALUE: Into<SchemaType>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn schema_type<VALUE: Into<SchemaType>>( &mut self, value: VALUE, ) -> &mut Self
Type of the schema.
Schema tags.
Sourcepub fn version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Version of the schema. Allowed between 0-9.
Sourcepub fn build(&self) -> Result<PutSchemaRequest, PutSchemaRequestBuilderError>
pub fn build(&self) -> Result<PutSchemaRequest, PutSchemaRequestBuilderError>
Trait Implementations§
Source§impl Clone for PutSchemaRequestBuilder
impl Clone for PutSchemaRequestBuilder
Source§fn clone(&self) -> PutSchemaRequestBuilder
fn clone(&self) -> PutSchemaRequestBuilder
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for PutSchemaRequestBuilder
impl RefUnwindSafe for PutSchemaRequestBuilder
impl Send for PutSchemaRequestBuilder
impl Sync for PutSchemaRequestBuilder
impl Unpin for PutSchemaRequestBuilder
impl UnwindSafe for PutSchemaRequestBuilder
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