pub struct EnrollUserParams {
pub user_id: u64,
pub type: Option<String>,
pub role: Option<String>,
pub enrollment_state: Option<String>,
}Expand description
Parameters for enrolling a user in a section.
Fields§
§user_id: u64§type: Option<String>§role: Option<String>§enrollment_state: Option<String>Trait Implementations§
Source§impl Clone for EnrollUserParams
impl Clone for EnrollUserParams
Source§fn clone(&self) -> EnrollUserParams
fn clone(&self) -> EnrollUserParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EnrollUserParams
impl Debug for EnrollUserParams
Source§impl Default for EnrollUserParams
impl Default for EnrollUserParams
Source§fn default() -> EnrollUserParams
fn default() -> EnrollUserParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EnrollUserParams
impl RefUnwindSafe for EnrollUserParams
impl Send for EnrollUserParams
impl Sync for EnrollUserParams
impl Unpin for EnrollUserParams
impl UnsafeUnpin for EnrollUserParams
impl UnwindSafe for EnrollUserParams
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