Struct replicate_rust::training::Training
source · pub struct Training {
pub parent: Client,
}
Fields§
§parent: Client
Implementations§
source§impl Training
impl Training
pub fn new(rep: Client) -> Self
pub fn create( &self, model_owner: String, model_name: String, version_id: String, options: TrainingOptions ) -> Result<CreateTraining, Box<dyn Error>>
pub fn get(&self, training_id: String) -> Result<GetTraining, Box<dyn Error>>
pub fn list(&self) -> Result<ListTraining, Box<dyn Error>>
pub fn cancel(&self, training_id: String) -> Result<(), Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for Training
impl Send for Training
impl Sync for Training
impl Unpin for Training
impl UnwindSafe for Training
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