pub fn deserialize(&self) -> Result<Entry> {
        Ok(match self.class {
            Class::Root => Entry::Root(protobuf::parse_from_bytes::<Root>(self.data)?),
            Class::Domain => Entry::Domain(protobuf::parse_from_bytes::<Domain>(self.data)?),
            Class::OrgUnit => Entry::OrgUnit(protobuf::parse_from_bytes::<OrgUnit>(self.data)?),
            Class::System => Entry::System(protobuf::parse_from_bytes::<System>(self.data)?),
            Class::Credential => {
                Entry::Credential(protobuf::parse_from_bytes::<Credential>(self.data)?)
            }
        })
    }
/// Deserialize an entry into the (owned) `Entry` sum type
Deserialize an entry into the (owned) `Entry` sum type
Deserialize an entry into the ( owned ) ` Entry ` sum type
pub fn deserialize(&self) -> Result<Entry> {
        Ok(match self.class {
            Class::Root => Entry::Root(protobuf::parse_from_bytes::<Root>(self.data)?),
            Class::Domain => Entry::Domain(protobuf::parse_from_bytes::<Domain>(self.data)?),
            Class::OrgUnit => Entry::OrgUnit(protobuf::parse_from_bytes::<OrgUnit>(self.data)?),
            Class::System => Entry::System(protobuf::parse_from_bytes::<System>(self.data)?),
            Class::Credential => {
                Entry::Credential(protobuf::parse_from_bytes::<Credential>(self.data)?)
            }
        })
    }
pub fn deserialize ( & self ) -> Result < Entry > { Ok ( match self . class { Class :: Root => Entry :: Root ( protobuf :: parse_from_bytes :: < Root > ( self . data ) ? ) , Class :: Domain => Entry :: Domain ( protobuf :: parse_from_bytes :: < Domain > ( self . data ) ? ) , Class :: OrgUnit => Entry :: OrgUnit ( protobuf :: parse_from_bytes :: < OrgUnit > ( self . data ) ? ) , Class :: System => Entry :: System ( protobuf :: parse_from_bytes :: < System > ( self . data ) ? ) , Class :: Credential => { Entry :: Credential ( protobuf :: parse_from_bytes :: < Credential > ( self . data ) ? ) } } ) }
Deserialize an entry into the (owned) `Entry` sum type
Deserialize an entry into the ( owned ) ` Entry ` sum type
&self
&self