pub struct CreateCorpusRequest {
pub corpus_pathname: Option<String>,
pub corpus_type: Option<CorpusType>,
}
Fields§
§corpus_pathname: Option<String>
full corpus name
corpus_type: Option<CorpusType>
Implementations§
Source§impl CreateCorpusRequest
impl CreateCorpusRequest
pub fn new() -> CreateCorpusRequest
Trait Implementations§
Source§impl Clone for CreateCorpusRequest
impl Clone for CreateCorpusRequest
Source§fn clone(&self) -> CreateCorpusRequest
fn clone(&self) -> CreateCorpusRequest
Returns a duplicate 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 moreSource§impl Debug for CreateCorpusRequest
impl Debug for CreateCorpusRequest
Source§impl Default for CreateCorpusRequest
impl Default for CreateCorpusRequest
Source§fn default() -> CreateCorpusRequest
fn default() -> CreateCorpusRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateCorpusRequest
impl<'de> Deserialize<'de> for CreateCorpusRequest
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
Source§impl PartialEq for CreateCorpusRequest
impl PartialEq for CreateCorpusRequest
Source§impl Serialize for CreateCorpusRequest
impl Serialize for CreateCorpusRequest
impl StructuralPartialEq for CreateCorpusRequest
Auto Trait Implementations§
impl Freeze for CreateCorpusRequest
impl RefUnwindSafe for CreateCorpusRequest
impl Send for CreateCorpusRequest
impl Sync for CreateCorpusRequest
impl Unpin for CreateCorpusRequest
impl UnwindSafe for CreateCorpusRequest
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