pub struct Company {Show 20 fields
pub decimal_symbol: Option<String>,
pub base_uri: Option<String>,
pub plan_type: Option<String>,
pub expense_feature: Option<bool>,
pub is_active: Option<bool>,
pub time_format: Option<String>,
pub color_scheme: Option<String>,
pub weekly_capacity: Option<i64>,
pub name: Option<String>,
pub week_start_day: Option<String>,
pub thousands_separator: Option<String>,
pub invoice_feature: Option<bool>,
pub estimate_feature: Option<bool>,
pub clock: Option<String>,
pub wants_timestamp_timers: Option<bool>,
pub full_domain: Option<String>,
pub currency_code_display: Option<String>,
pub currency_symbol_display: Option<String>,
pub approval_feature: Option<bool>,
pub date_format: Option<String>,
}Fields§
§decimal_symbol: Option<String>Symbol used when formatting decimals.
base_uri: Option<String>The Harvest URL for the company.
plan_type: Option<String>The type of plan the company is on. Examples: trial, free, or simple-v4
expense_feature: Option<bool>Whether the expense module is enabled.
is_active: Option<bool>Whether the company is active or archived.
time_format: Option<String>The format used to display time in Harvest. Returns either decimal or hours_minutes.
color_scheme: Option<String>The color scheme being used in the Harvest web client.
weekly_capacity: Option<i64>The weekly capacity in seconds.
name: Option<String>The name of the company.
week_start_day: Option<String>The weekday used as the start of the week. Returns one of: Saturday, Sunday, or Monday.
thousands_separator: Option<String>Separator used when formatting numbers.
invoice_feature: Option<bool>Whether the invoice module is enabled.
estimate_feature: Option<bool>Whether the estimate module is enabled.
clock: Option<String>Used to represent whether the company is using a 12-hour or 24-hour clock. Returns either 12h or 24h.
wants_timestamp_timers: Option<bool>Whether time is tracked via duration or start and end times.
full_domain: Option<String>The Harvest domain for the company.
currency_code_display: Option<String>How to display the currency code when formatting currency. Returns one of: iso_code_none, iso_code_before, or iso_code_after.
currency_symbol_display: Option<String>How to display the currency symbol when formatting currency. Returns one of: symbol_none, symbol_before, or symbol_after.
approval_feature: Option<bool>Whether the approval module is enabled.
date_format: Option<String>The format used to display date in Harvest. Returns one of: %m/%d/%Y, %d/%m/%Y, %Y-%m-%d, %d.%m.%Y,.%Y.%m.%d or %Y/%m/%d.