pub struct ProvisionPlan {
pub pubkey: String,
pub display_name: Option<String>,
pub pod_base: String,
pub containers: Vec<String>,
pub root_acl: Option<AclDocument>,
pub quota_bytes: Option<u64>,
}Expand description
Seed plan applied to a fresh pod.
Fields§
§pubkey: StringPubkey (hex) that owns the pod.
display_name: Option<String>Optional display name for the WebID profile.
pod_base: StringPublic pod base URL (used to render the WebID).
containers: Vec<String>Containers to create (paths must end with /).
root_acl: Option<AclDocument>ACL document to drop at the pod root.
quota_bytes: Option<u64>Bytes quota. None means unlimited (but a real consumer crate
is strongly encouraged to set one).
Trait Implementations§
Source§impl Clone for ProvisionPlan
impl Clone for ProvisionPlan
Source§fn clone(&self) -> ProvisionPlan
fn clone(&self) -> ProvisionPlan
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 ProvisionPlan
impl Debug for ProvisionPlan
Source§impl<'de> Deserialize<'de> for ProvisionPlan
impl<'de> Deserialize<'de> for ProvisionPlan
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 ProvisionPlan
impl RefUnwindSafe for ProvisionPlan
impl Send for ProvisionPlan
impl Sync for ProvisionPlan
impl Unpin for ProvisionPlan
impl UnsafeUnpin for ProvisionPlan
impl UnwindSafe for ProvisionPlan
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