pub struct ProjectDocument {
pub path: String,
pub doc_type: DocumentType,
pub annotation_enabled: bool,
pub annotation_start_value: i32,
pub do_library_update: bool,
pub do_database_update: bool,
pub params: HashMap<String, String>,
}Expand description
A project document reference.
Fields§
§path: StringPath to the document (relative to project)
doc_type: DocumentTypeDocument type inferred from extension
annotation_enabled: boolWhether annotation is enabled
annotation_start_value: i32Annotation start value
do_library_update: boolWhether to do library update
do_database_update: boolWhether to do database update
params: HashMap<String, String>All parameters for this document
Trait Implementations§
Source§impl Clone for ProjectDocument
impl Clone for ProjectDocument
Source§fn clone(&self) -> ProjectDocument
fn clone(&self) -> ProjectDocument
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 ProjectDocument
impl Debug for ProjectDocument
Source§impl Default for ProjectDocument
impl Default for ProjectDocument
Source§fn default() -> ProjectDocument
fn default() -> ProjectDocument
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectDocument
impl RefUnwindSafe for ProjectDocument
impl Send for ProjectDocument
impl Sync for ProjectDocument
impl Unpin for ProjectDocument
impl UnwindSafe for ProjectDocument
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more