pub struct CreateTenantBody {Show 23 fields
pub name: String,
pub domain_configuration: Vec<ApiDomainConfiguration>,
pub email: Option<String>,
pub sign_up_date: Option<f64>,
pub package_id: Option<String>,
pub payment_frequency: Option<f64>,
pub billing_info_valid: Option<bool>,
pub billing_handled_externally: Option<bool>,
pub created_by: Option<String>,
pub is_setup: Option<bool>,
pub billing_info: Option<Box<BillingInfo>>,
pub stripe_customer_id: Option<String>,
pub stripe_subscription_id: Option<String>,
pub stripe_plan_id: Option<String>,
pub enable_profanity_filter: Option<bool>,
pub enable_spam_filter: Option<bool>,
pub remove_unverified_comments: Option<bool>,
pub unverified_comments_tt_lms: Option<f64>,
pub comments_require_approval: Option<bool>,
pub auto_approve_comment_on_verification: Option<bool>,
pub send_profane_to_spam: Option<bool>,
pub de_anon_ip_addr: Option<f64>,
pub meta: Option<HashMap<String, String>>,
}Fields§
§name: String§domain_configuration: Vec<ApiDomainConfiguration>§email: Option<String>§sign_up_date: Option<f64>§package_id: Option<String>§payment_frequency: Option<f64>§billing_info_valid: Option<bool>§billing_handled_externally: Option<bool>§created_by: Option<String>§is_setup: Option<bool>§billing_info: Option<Box<BillingInfo>>§stripe_customer_id: Option<String>§stripe_subscription_id: Option<String>§stripe_plan_id: Option<String>§enable_profanity_filter: Option<bool>§enable_spam_filter: Option<bool>§remove_unverified_comments: Option<bool>§unverified_comments_tt_lms: Option<f64>§comments_require_approval: Option<bool>§auto_approve_comment_on_verification: Option<bool>§send_profane_to_spam: Option<bool>§de_anon_ip_addr: Option<f64>§meta: Option<HashMap<String, String>>Construct a type with a set of properties K of type T
Implementations§
Source§impl CreateTenantBody
impl CreateTenantBody
pub fn new( name: String, domain_configuration: Vec<ApiDomainConfiguration>, ) -> CreateTenantBody
Trait Implementations§
Source§impl Clone for CreateTenantBody
impl Clone for CreateTenantBody
Source§fn clone(&self) -> CreateTenantBody
fn clone(&self) -> CreateTenantBody
Returns a duplicate of the value. Read more
1.0.0 · 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 CreateTenantBody
impl Debug for CreateTenantBody
Source§impl Default for CreateTenantBody
impl Default for CreateTenantBody
Source§fn default() -> CreateTenantBody
fn default() -> CreateTenantBody
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateTenantBody
impl<'de> Deserialize<'de> for CreateTenantBody
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 CreateTenantBody
impl PartialEq for CreateTenantBody
Source§impl Serialize for CreateTenantBody
impl Serialize for CreateTenantBody
impl StructuralPartialEq for CreateTenantBody
Auto Trait Implementations§
impl Freeze for CreateTenantBody
impl RefUnwindSafe for CreateTenantBody
impl Send for CreateTenantBody
impl Sync for CreateTenantBody
impl Unpin for CreateTenantBody
impl UnwindSafe for CreateTenantBody
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