pub struct GetRequestBuilder { /* private fields */ }
Expand description
Builder for GetRequest
.
Implementations§
Source§impl GetRequestBuilder
impl GetRequestBuilder
Sourcepub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The unique identifier of the schema to retrieve. Required to locate the schema in the registry.
Sourcepub fn version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn version<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
The version of the schema to fetch. If not specified, defaults to “1”.
Sourcepub fn build(&self) -> Result<GetRequest, GetRequestBuilderError>
pub fn build(&self) -> Result<GetRequest, GetRequestBuilderError>
Trait Implementations§
Source§impl Clone for GetRequestBuilder
impl Clone for GetRequestBuilder
Source§fn clone(&self) -> GetRequestBuilder
fn clone(&self) -> GetRequestBuilder
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 GetRequestBuilder
impl RefUnwindSafe for GetRequestBuilder
impl Send for GetRequestBuilder
impl Sync for GetRequestBuilder
impl Unpin for GetRequestBuilder
impl UnwindSafe for GetRequestBuilder
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