Struct oca_presentation::presentation::Presentation
source · 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)
fn derivation_data(&self) -> Vec<u8>
Auto Trait Implementations§
impl RefUnwindSafe for Presentation
impl Send for Presentation
impl Sync for Presentation
impl Unpin 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