pub struct ModelsGetBuilder<'f1, 'f2, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, 'f2, S: State> ModelsGetBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S: State> ModelsGetBuilder<'f1, 'f2, S>
Sourcepub async fn call(self) -> Result<Model, Error<ModelsGetError>>where
S: IsComplete,
pub async fn call(self) -> Result<Model, Error<ModelsGetError>>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn configuration(
self,
value: &'f1 Configuration,
) -> ModelsGetBuilder<'f1, 'f2, SetConfiguration<S>>where
S::Configuration: IsUnset,
pub fn configuration(
self,
value: &'f1 Configuration,
) -> ModelsGetBuilder<'f1, 'f2, SetConfiguration<S>>where
S::Configuration: IsUnset,
Required.
Sourcepub fn id(self, value: &'f2 str) -> ModelsGetBuilder<'f1, 'f2, SetId<S>>where
S::Id: IsUnset,
pub fn id(self, value: &'f2 str) -> ModelsGetBuilder<'f1, 'f2, SetId<S>>where
S::Id: IsUnset,
Required.
Auto Trait Implementations§
impl<'f1, 'f2, S> Freeze for ModelsGetBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !RefUnwindSafe for ModelsGetBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Send for ModelsGetBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Sync for ModelsGetBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S> Unpin for ModelsGetBuilder<'f1, 'f2, S>
impl<'f1, 'f2, S = Empty> !UnwindSafe for ModelsGetBuilder<'f1, 'f2, S>
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