SourceFormat
yosoi::documents::SourceFormat
pub enum SourceFormat
The syntax of the owned document payload.
Source: crates/yosoi/src/internal/documents/document_profile.rs:21
SDK re-export: Source: crates/yosoi/src/documents.rs:11
Variants
Section titled “Variants”Html
HTML payload interpreted using the selected HTML schema profile.
Source: crates/yosoi/src/internal/documents/document_profile.rs:23
Json
JSON payload, including structured rendered or accessibility snapshots.
Source: crates/yosoi/src/internal/documents/document_profile.rs:27
Text
UTF-8 text payload without tree or JSON capabilities.
Source: crates/yosoi/src/internal/documents/document_profile.rs:29
Xml
XML payload interpreted using the selected XML schema profile.
Source: crates/yosoi/src/internal/documents/document_profile.rs:25
Trait implementations
Section titled “Trait implementations”Clone
fn clone(&self) -> yosoi::documents::SourceFormat
Source: crates/yosoi/src/internal/documents/document_profile.rs:19
Debug
fn fmt(&self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
Source: crates/yosoi/src/internal/documents/document_profile.rs:19
Deserialize
deserialize
Section titled “deserialize”fn deserialize<__D>(__deserializer: __D) -> _serde::__private229::Result<Self, <__D as >::Error> where __D: _serde::Deserializer<'de>
Source: crates/yosoi/src/internal/documents/document_profile.rs:19
Hash
fn hash<__H: $crate::hash::Hasher>(&self, state: &mut __H)
Source: crates/yosoi/src/internal/documents/document_profile.rs:19
PartialEq
fn eq(&self, other: &yosoi::documents::SourceFormat) -> bool
Source: crates/yosoi/src/internal/documents/document_profile.rs:19
Serialize
serialize
Section titled “serialize”fn serialize<__S>(&self, __serializer: __S) -> _serde::__private229::Result<<__S as >::Ok, <__S as >::Error> where __S: _serde::Serializer
Source: crates/yosoi/src/internal/documents/document_profile.rs:19