pub struct PolicyBundle {
pub name: String,
pub version: String,
pub content_hash: String,
pub signature: Option<Option<String>>,
pub pack_type: Option<PackType>,
}Expand description
PolicyBundle : A loaded policy bundle (jurisdiction, industry, or business pack)
Fields§
§name: String§version: String§content_hash: StringSHA-256 of the bundle contents
signature: Option<Option<String>>Ed25519 signature over content_hash
pack_type: Option<PackType>Implementations§
Source§impl PolicyBundle
impl PolicyBundle
Trait Implementations§
Source§impl Clone for PolicyBundle
impl Clone for PolicyBundle
Source§fn clone(&self) -> PolicyBundle
fn clone(&self) -> PolicyBundle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolicyBundle
impl Debug for PolicyBundle
Source§impl Default for PolicyBundle
impl Default for PolicyBundle
Source§fn default() -> PolicyBundle
fn default() -> PolicyBundle
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyBundle
impl<'de> Deserialize<'de> for PolicyBundle
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 PartialEq for PolicyBundle
impl PartialEq for PolicyBundle
Source§impl Serialize for PolicyBundle
impl Serialize for PolicyBundle
impl StructuralPartialEq for PolicyBundle
Auto Trait Implementations§
impl Freeze for PolicyBundle
impl RefUnwindSafe for PolicyBundle
impl Send for PolicyBundle
impl Sync for PolicyBundle
impl Unpin for PolicyBundle
impl UnsafeUnpin for PolicyBundle
impl UnwindSafe for PolicyBundle
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