pub struct OrgCreateParams {
pub name: String,
pub expires_secs: Option<i64>,
pub roster_url: Option<String>,
}Expand description
Params of Request::OrgCreate (#66).
Fields§
§name: StringThe org’s name — its org_id, the value every member’s roster carries.
expires_secs: Option<i64>How long the signed roster stays valid, in seconds. Omit for the 90-day default.
This is an operator-grade default and a sharp edge at small scale: past it the roster degrades and the group stops working, which for a handful of laptops can arrive days after one of them was closed for a long weekend. A small team should pass a long value here deliberately rather than discover the default later.
roster_url: Option<String>An HTTPS URL where the signed roster will be published. Carried in the org invite (so a
joiner bootstraps its first roster) AND pinned in this operator’s [roster].url.
Trait Implementations§
Source§impl Clone for OrgCreateParams
impl Clone for OrgCreateParams
Source§fn clone(&self) -> OrgCreateParams
fn clone(&self) -> OrgCreateParams
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 OrgCreateParams
impl Debug for OrgCreateParams
Source§impl<'de> Deserialize<'de> for OrgCreateParams
impl<'de> Deserialize<'de> for OrgCreateParams
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
impl Eq for OrgCreateParams
Source§impl PartialEq for OrgCreateParams
impl PartialEq for OrgCreateParams
Source§impl Serialize for OrgCreateParams
impl Serialize for OrgCreateParams
impl StructuralPartialEq for OrgCreateParams
Auto Trait Implementations§
impl Freeze for OrgCreateParams
impl RefUnwindSafe for OrgCreateParams
impl Send for OrgCreateParams
impl Sync for OrgCreateParams
impl Unpin for OrgCreateParams
impl UnsafeUnpin for OrgCreateParams
impl UnwindSafe for OrgCreateParams
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