pub struct DocBody {
pub doc_info: CtDocInfo,
pub doc_root: Option<StLoc>,
pub versions: Option<Versions>,
pub signatures: Option<StLoc>,
}Expand description
文件对象入口(见表 3)。
Fields§
§doc_info: CtDocInfo文档元数据信息描述(必选)。
doc_root: Option<StLoc>指向文档根节点文档(Document.xml),见 7.5(可选)。
versions: Option<Versions>版本信息,见第 19 章(可选)。
signatures: Option<StLoc>指向该文档中签名和签章结构,见第 18 章(可选)。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocBody
impl<'de> Deserialize<'de> for DocBody
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 DocBody
impl RefUnwindSafe for DocBody
impl Send for DocBody
impl Sync for DocBody
impl Unpin for DocBody
impl UnsafeUnpin for DocBody
impl UnwindSafe for DocBody
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