pub struct GetModelStateParams<'a, S: AsRef<str>> {
pub model_id: &'a str,
pub state_id: Option<&'a str>,
pub keys: Option<&'a [S]>,
}Fields§
§model_id: &'a strThe model’s id.
state_id: Option<&'a str>The state’s id. Defaults to the active state.
keys: Option<&'a [S]>Which keys to fetch. Defaults to all keys.
Trait Implementations§
source§impl<'a, S: Clone + AsRef<str>> Clone for GetModelStateParams<'a, S>
impl<'a, S: Clone + AsRef<str>> Clone for GetModelStateParams<'a, S>
source§fn clone(&self) -> GetModelStateParams<'a, S>
fn clone(&self) -> GetModelStateParams<'a, S>
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<'a, S> Freeze for GetModelStateParams<'a, S>
impl<'a, S> RefUnwindSafe for GetModelStateParams<'a, S>where
S: RefUnwindSafe,
impl<'a, S> Send for GetModelStateParams<'a, S>where
S: Sync,
impl<'a, S> Sync for GetModelStateParams<'a, S>where
S: Sync,
impl<'a, S> Unpin for GetModelStateParams<'a, S>
impl<'a, S> UnwindSafe for GetModelStateParams<'a, S>where
S: RefUnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)