pub struct PolicySection {
pub operator_did: Option<String>,
}Expand description
Which DID’s records this server reads as policy, once
policy-store exists to read anything.
This is the one field this whole file may say about policy: which repository to read, never what that repository is allowed to grant. See the crate root’s doc.
Reload: hot, by design — policy-store’s own poll is how a revision
takes effect, and this section only says where the poll points.
Fields§
§operator_did: Option<String>The operator’s DID, whose repository holds ceilings, admitted apps and collection permissions this server enforces but never stores here.
Trait Implementations§
Source§impl Clone for PolicySection
impl Clone for PolicySection
Source§fn clone(&self) -> PolicySection
fn clone(&self) -> PolicySection
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 PolicySection
impl Debug for PolicySection
Source§impl Default for PolicySection
impl Default for PolicySection
Source§fn default() -> PolicySection
fn default() -> PolicySection
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicySection
impl<'de> Deserialize<'de> for PolicySection
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 PolicySection
impl PartialEq for PolicySection
Source§fn eq(&self, other: &PolicySection) -> bool
fn eq(&self, other: &PolicySection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PolicySection
impl Serialize for PolicySection
impl Eq for PolicySection
impl StructuralPartialEq for PolicySection
Auto Trait Implementations§
impl Freeze for PolicySection
impl RefUnwindSafe for PolicySection
impl Send for PolicySection
impl Sync for PolicySection
impl Unpin for PolicySection
impl UnsafeUnpin for PolicySection
impl UnwindSafe for PolicySection
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