pub struct InnerLayer {
pub raw_contents: Vec<u8>,
pub formats: Vec<u32>,
pub intro_auth: Vec<String>,
pub is_single_service: bool,
pub introduction_points: Vec<IntroductionPointV3>,
}Fields§
§raw_contents: Vec<u8>§formats: Vec<u32>§intro_auth: Vec<String>§is_single_service: bool§introduction_points: Vec<IntroductionPointV3>Implementations§
Source§impl InnerLayer
impl InnerLayer
pub fn parse(content: &[u8], validate: bool) -> Result<Self>
pub fn content( attributes: &Attributes, exclude: &[&str], introduction_points: &[IntroductionPointV3], ) -> Result<Vec<u8>>
pub fn create( attributes: &Attributes, exclude: &[&str], validate: bool, introduction_points: &[IntroductionPointV3], ) -> Result<Self>
Trait Implementations§
Source§impl Clone for InnerLayer
impl Clone for InnerLayer
Source§impl Debug for InnerLayer
impl Debug for InnerLayer
Source§impl PartialEq for InnerLayer
impl PartialEq for InnerLayer
Source§impl Serialize for InnerLayer
impl Serialize for InnerLayer
impl StructuralPartialEq for InnerLayer
Auto Trait Implementations§
impl Freeze for InnerLayer
impl RefUnwindSafe for InnerLayer
impl Send for InnerLayer
impl Sync for InnerLayer
impl Unpin for InnerLayer
impl UnsafeUnpin for InnerLayer
impl UnwindSafe for InnerLayer
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