pub struct AdsSectionInfo {
pub section: AdsSection,
pub id: &'static str,
pub carrier: AdsCarrier,
pub default_required: bool,
pub description: &'static str,
}Expand description
Metadata describing one ADS section.
Fields§
§section: AdsSectionThe section variant.
id: &'static strStable snake_case identifier (matches AdsSection’s serde rename and
the ads.<id> config key).
carrier: AdsCarrierWhere the section’s content is carried on a rule.
default_required: boolWhether the section is required by default (before config overrides).
description: &'static strOne-line, human-readable description of the section.
Trait Implementations§
Source§impl Clone for AdsSectionInfo
impl Clone for AdsSectionInfo
Source§fn clone(&self) -> AdsSectionInfo
fn clone(&self) -> AdsSectionInfo
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 moreimpl Copy for AdsSectionInfo
Source§impl Debug for AdsSectionInfo
impl Debug for AdsSectionInfo
Auto Trait Implementations§
impl Freeze for AdsSectionInfo
impl RefUnwindSafe for AdsSectionInfo
impl Send for AdsSectionInfo
impl Sync for AdsSectionInfo
impl Unpin for AdsSectionInfo
impl UnsafeUnpin for AdsSectionInfo
impl UnwindSafe for AdsSectionInfo
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