pub struct Params {
pub importfrom: Option<i64>,
pub importto: Option<i64>,
pub deletecontent: Option<i64>,
pub options: Option<ParamsOptions>,
}Fields§
§importfrom: Option<i64>the id of the course we are importing from
importto: Option<i64>the id of the course we are importing to
deletecontent: Option<i64>whether to delete the course content where we are importing to (default to 0 = No)
options: Option<ParamsOptions>Course import options
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Params
impl<'de> Deserialize<'de> for Params
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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