Struct scratchstack_aspen::Policy
source · [−]pub struct Policy { /* private fields */ }
Expand description
The top-level structure for holding an Aspen policy.
This does not directly derive Deserialize/Serialize to prevent serde from allowing this to be represented as an array.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Policy
impl<'de> Deserialize<'de> for Policy
sourcefn deserialize<D: Deserializer<'de>>(d: D) -> Result<Policy, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Policy, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Policy
impl StructuralEq for Policy
impl StructuralPartialEq for Policy
Auto Trait Implementations
impl RefUnwindSafe for Policy
impl Send for Policy
impl Sync for Policy
impl Unpin for Policy
impl UnwindSafe for Policy
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more