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: boolbilling_address: BillingAddressbusiness_memo_required_threshold: f64The 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: StringThe OAuth2 token header
business_name_on_card: StringMostly static information about a business that doesn’t change often.
business_receipt_required_threshold: f64The 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: StringThe OAuth2 token header
enforce_sso: boolid: StringThe OAuth2 token header
initial_approved_limit: f64The 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: boolis_reimbursements_enabled: boollimit_locked: boolphone: StringThe OAuth2 token header
website: StringThe OAuth2 token header
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Business
impl<'de> Deserialize<'de> for Business
sourcefn 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
sourceimpl JsonSchema for Business
impl JsonSchema for Business
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn 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 more
impl StructuralPartialEq for Business
Auto Trait Implementations
impl RefUnwindSafe for Business
impl Send for Business
impl Sync for Business
impl Unpin for Business
impl UnwindSafe for Business
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> FutureExt for T
impl<T> FutureExt for T
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more