pub struct RealmBilling { /* private fields */ }Expand description
Represents billing information of the organization.
Changes: New in Zulip 10.0 (feature level 363).
Modified from openapi-generator-cli output:
$ openapi-generator-cli generate -g rust -i ./zerver/openapi/zulip.yaml -o zulip-openapi --skip-validate-spec/*
* Zulip REST API
*
* Powerful open source group chat
*
* The version of the OpenAPI document: 1.0.0
*
* Generated by: https://openapi-generator.tech
*/See zerver/openapi/zulip.yaml for the original OpenAPI configuration.
Configuration slightly modified to work with the Rust generator of openapi-generator-cli.
Implementations§
Source§impl RealmBilling
impl RealmBilling
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new RealmBilling.
Source§impl RealmBilling
impl RealmBilling
Sourcepub const fn has_pending_sponsorship_request(&self) -> Option<bool>
pub const fn has_pending_sponsorship_request(&self) -> Option<bool>
Gets the RealmBilling has_pending_sponsorship_request.
Whether there is a pending sponsorship request for the organization.
Note that this field will always be false if the user is not in can_manage_billing_group.
Changes: New in Zulip 10.0 (feature level 363).
Sourcepub fn set_has_pending_sponsorship_request(&mut self, val: bool)
pub fn set_has_pending_sponsorship_request(&mut self, val: bool)
Sets the RealmBilling has_pending_sponsorship_request.
Whether there is a pending sponsorship request for the organization.
Note that this field will always be false if the user is not in can_manage_billing_group.
Changes: New in Zulip 10.0 (feature level 363).
Sourcepub fn unset_has_pending_sponsorship_request(&mut self) -> Option<bool>
pub fn unset_has_pending_sponsorship_request(&mut self) -> Option<bool>
Unsets the RealmBilling has_pending_sponsorship_request.
Whether there is a pending sponsorship request for the organization.
Note that this field will always be false if the user is not in can_manage_billing_group.
Changes: New in Zulip 10.0 (feature level 363).
Sourcepub fn with_has_pending_sponsorship_request(self, val: bool) -> Self
pub fn with_has_pending_sponsorship_request(self, val: bool) -> Self
Builder function that sets the RealmBilling has_pending_sponsorship_request.
Whether there is a pending sponsorship request for the organization.
Note that this field will always be false if the user is not in can_manage_billing_group.
Changes: New in Zulip 10.0 (feature level 363).