pub struct AclDocument {
pub context: Option<Value>,
pub graph: Option<Vec<AclAuthorization>>,
}Expand description
Parsed ACL document containing zero or more authorization rules.
Fields§
§context: Option<Value>JSON-LD @context value, if the document was parsed from JSON-LD.
graph: Option<Vec<AclAuthorization>>The list of authorization rules in this document.
Trait Implementations§
Source§impl Clone for AclDocument
impl Clone for AclDocument
Source§fn clone(&self) -> AclDocument
fn clone(&self) -> AclDocument
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AclDocument
impl Debug for AclDocument
Source§impl<'de> Deserialize<'de> for AclDocument
impl<'de> Deserialize<'de> for AclDocument
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
Auto Trait Implementations§
impl Freeze for AclDocument
impl RefUnwindSafe for AclDocument
impl Send for AclDocument
impl Sync for AclDocument
impl Unpin for AclDocument
impl UnsafeUnpin for AclDocument
impl UnwindSafe for AclDocument
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