Struct rust_woocommerce::settings::SettingGroup
source · pub struct SettingGroup {
pub id: String,
pub label: String,
pub description: String,
pub parent_id: String,
pub sub_groups: Vec<String>,
}Expand description
let client = ApiClient::from_env()?;
let result = client
.list_all::<SettingGroup>(Entity::Setting)
.await?;Fields§
§id: StringA unique identifier that can be used to link settings together.
label: StringA human readable label for the setting used in interfaces.
description: StringA human readable description for the setting used in interfaces.
parent_id: StringID of parent grouping.
sub_groups: Vec<String>IDs for settings sub groups.
Trait Implementations§
source§impl Clone for SettingGroup
impl Clone for SettingGroup
source§fn clone(&self) -> SettingGroup
fn clone(&self) -> SettingGroup
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 SettingGroup
impl Debug for SettingGroup
source§impl<'de> Deserialize<'de> for SettingGroup
impl<'de> Deserialize<'de> for SettingGroup
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 SettingGroup
impl RefUnwindSafe for SettingGroup
impl Send for SettingGroup
impl Sync for SettingGroup
impl Unpin for SettingGroup
impl UnwindSafe for SettingGroup
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