pub struct PurgeTheoryArgs {
pub session_id: String,
pub theories: Vec<String>,
pub master_dir: Option<String>,
pub all: Option<bool>,
}
Expand description
Arguments for purge_theories
command
Fields§
§session_id: String
§theories: Vec<String>
§master_dir: Option<String>
§all: Option<bool>
Implementations§
Source§impl PurgeTheoryArgs
impl PurgeTheoryArgs
pub fn for_session(session_id: &str, theories: &[&str]) -> Self
Trait Implementations§
Source§impl Debug for PurgeTheoryArgs
impl Debug for PurgeTheoryArgs
Source§impl Default for PurgeTheoryArgs
impl Default for PurgeTheoryArgs
Source§fn default() -> PurgeTheoryArgs
fn default() -> PurgeTheoryArgs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PurgeTheoryArgs
impl<'de> Deserialize<'de> for PurgeTheoryArgs
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 PurgeTheoryArgs
impl RefUnwindSafe for PurgeTheoryArgs
impl Send for PurgeTheoryArgs
impl Sync for PurgeTheoryArgs
impl Unpin for PurgeTheoryArgs
impl UnwindSafe for PurgeTheoryArgs
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