pub struct Presentation {
pub version: String,
pub bundle_digest: SelfAddressingIdentifier,
pub languages: Vec<Language>,
pub said: Option<SelfAddressingIdentifier>,
pub pages: Vec<Page>,
pub pages_order: Vec<String>,
pub pages_label: IndexMap<Language, BTreeMap<String, String>>,
pub interaction: Vec<Interaction>,
}Fields§
§version: String§bundle_digest: SelfAddressingIdentifier§languages: Vec<Language>§said: Option<SelfAddressingIdentifier>§pages: Vec<Page>§pages_order: Vec<String>§pages_label: IndexMap<Language, BTreeMap<String, String>>§interaction: Vec<Interaction>Implementations§
Source§impl Presentation
impl Presentation
pub fn validate_digest(&self) -> Result<(), PresentationError>
Trait Implementations§
Source§impl Debug for Presentation
impl Debug for Presentation
Source§impl<'de> Deserialize<'de> for Presentation
impl<'de> Deserialize<'de> for Presentation
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 SAD for Presentation
impl SAD for Presentation
fn compute_digest( &mut self, code: &HashFunctionCode, format: &SerializationFormats, )
fn derivation_data( &self, code: &HashFunctionCode, serialization_format: &SerializationFormats, ) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for Presentation
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin for Presentation
impl UnsafeUnpin for Presentation
impl UnwindSafe for Presentation
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