Struct rust_woocommerce::system_status::Environment
source · pub struct Environment {Show 30 fields
pub home_url: String,
pub site_url: String,
pub wc_version: Option<String>,
pub log_directory: String,
pub log_directory_writable: bool,
pub wp_version: String,
pub wp_multisite: bool,
pub wp_memory_limit: i64,
pub wp_debug_mode: bool,
pub wp_cron: bool,
pub language: String,
pub server_info: String,
pub php_version: String,
pub php_post_max_size: i64,
pub php_max_execution_time: i64,
pub php_max_input_vars: i64,
pub curl_version: String,
pub suhosin_installed: bool,
pub max_upload_size: i64,
pub mysql_version: String,
pub default_timezone: String,
pub fsockopen_or_curl_enabled: bool,
pub soapclient_enabled: bool,
pub domdocument_enabled: bool,
pub gzip_enabled: bool,
pub mbstring_enabled: bool,
pub remote_post_successful: bool,
pub remote_post_response: Value,
pub remote_get_successful: bool,
pub remote_get_response: Value,
}Fields§
§home_url: StringHome URL.
site_url: StringSite URL.
wc_version: Option<String>WooCommerce version.
log_directory: StringLog directory.
log_directory_writable: boolIs log directory writable?
wp_version: StringWordPress version.
wp_multisite: boolIs WordPress multisite?
wp_memory_limit: i64WordPress memory limit.
wp_debug_mode: boolIs WordPress debug mode active?
wp_cron: boolAre WordPress cron jobs enabled?
language: StringWordPress language.
server_info: StringServer info.
php_version: StringPHP version.
php_post_max_size: i64PHP post max size.
php_max_execution_time: i64PHP max execution time.
php_max_input_vars: i64PHP max input vars.
curl_version: StringcURL version.
suhosin_installed: boolIs SUHOSIN installed?
max_upload_size: i64Max upload size.
mysql_version: StringMySQL version.
default_timezone: StringDefault timezone.
fsockopen_or_curl_enabled: boolIs fsockopen/cURL enabled?
soapclient_enabled: boolIs SoapClient class enabled?
domdocument_enabled: boolIs DomDocument class enabled?
gzip_enabled: boolIs GZip enabled?
mbstring_enabled: boolIs mbstring enabled?
remote_post_successful: boolRemote POST successful?
remote_post_response: ValueRemote POST response.
remote_get_successful: boolRemote GET successful?
remote_get_response: ValueRemote GET response.
Trait Implementations§
source§impl Clone for Environment
impl Clone for Environment
source§fn clone(&self) -> Environment
fn clone(&self) -> Environment
Returns a copy 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 Environment
impl Debug for Environment
source§impl<'de> Deserialize<'de> for Environment
impl<'de> Deserialize<'de> for Environment
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
Auto Trait Implementations§
impl Freeze for Environment
impl RefUnwindSafe for Environment
impl Send for Environment
impl Sync for Environment
impl Unpin for Environment
impl UnwindSafe for Environment
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