pub struct Business {Show 15 fields
pub active: bool,
pub billing_address: BillingAddress,
pub business_memo_required_threshold: f64,
pub business_name_legal: String,
pub business_name_on_card: String,
pub business_receipt_required_threshold: f64,
pub created_time: String,
pub enforce_sso: bool,
pub id: String,
pub initial_approved_limit: f64,
pub is_integrated_with_slack: bool,
pub is_reimbursements_enabled: bool,
pub limit_locked: bool,
pub phone: String,
pub website: String,
}
Expand description
Mostly static information about a business that doesn’t change often.
Fields§
§active: bool
§billing_address: BillingAddress
§business_memo_required_threshold: f64
The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default will be 1,000.
business_name_legal: String
The OAuth2 token header
business_name_on_card: String
Mostly static information about a business that doesn’t change often.
business_receipt_required_threshold: f64
The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default will be 1,000.
created_time: String
The OAuth2 token header
enforce_sso: bool
§id: String
The OAuth2 token header
initial_approved_limit: f64
The number of results to be returned in each page. The value must be between 2 and 10,000. If not specified, the default will be 1,000.
is_integrated_with_slack: bool
§is_reimbursements_enabled: bool
§limit_locked: bool
§phone: String
The OAuth2 token header
website: String
The OAuth2 token header
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Business
impl<'de> Deserialize<'de> for Business
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 JsonSchema for Business
impl JsonSchema for Business
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreimpl StructuralPartialEq for Business
Auto Trait Implementations§
impl Freeze for Business
impl RefUnwindSafe for Business
impl Send for Business
impl Sync for Business
impl Unpin for Business
impl UnwindSafe for Business
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