pub struct SiteSettingDetail {
pub setting: String,
pub value: Value,
pub default: Value,
pub description: String,
pub category: String,
pub setting_type: String,
}Expand description
A single site setting with its full metadata, as returned by
GET /admin/site_settings.json.
Fields§
§setting: String§value: Value§default: Value§description: String§category: String§setting_type: StringAPI field name is type; renamed to avoid the Rust keyword collision.
Trait Implementations§
Source§impl Clone for SiteSettingDetail
impl Clone for SiteSettingDetail
Source§fn clone(&self) -> SiteSettingDetail
fn clone(&self) -> SiteSettingDetail
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SiteSettingDetail
impl Debug for SiteSettingDetail
Source§impl<'de> Deserialize<'de> for SiteSettingDetail
impl<'de> Deserialize<'de> for SiteSettingDetail
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 SiteSettingDetail
impl RefUnwindSafe for SiteSettingDetail
impl Send for SiteSettingDetail
impl Sync for SiteSettingDetail
impl Unpin for SiteSettingDetail
impl UnsafeUnpin for SiteSettingDetail
impl UnwindSafe for SiteSettingDetail
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