pub struct DocVersion {
pub id: String,
pub version: Option<String>,
pub name: Option<String>,
pub creation_date: Option<String>,
pub file_list: FileList,
pub doc_root: StLoc,
pub xml_other_attrs: Vec<(Box<str>, Box<str>)>,
pub xml_other_children: Vec<(usize, Box<str>)>,
}Expand description
版本属性。
Fields§
§id: String版本标识。
version: Option<String>该文件适用的格式版本。
name: Option<String>版本名称。
creation_date: Option<String>创建时间。
file_list: FileList版本包含的文件列表。
doc_root: StLoc该版本的入口文件。
xml_other_attrs: Vec<(Box<str>, Box<str>)>§xml_other_children: Vec<(usize, Box<str>)>Implementations§
Source§impl DocVersion
impl DocVersion
pub fn from_reader<R: BufRead>(reader: R) -> Result<Self, SdkError>
Trait Implementations§
Source§impl Clone for DocVersion
impl Clone for DocVersion
Source§fn clone(&self) -> DocVersion
fn clone(&self) -> DocVersion
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 DocVersion
impl Debug for DocVersion
Source§impl Default for DocVersion
impl Default for DocVersion
Source§fn default() -> DocVersion
fn default() -> DocVersion
Returns the “default value” for a type. Read more
Source§impl Display for DocVersion
impl Display for DocVersion
Auto Trait Implementations§
impl Freeze for DocVersion
impl RefUnwindSafe for DocVersion
impl Send for DocVersion
impl Sync for DocVersion
impl Unpin for DocVersion
impl UnsafeUnpin for DocVersion
impl UnwindSafe for DocVersion
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