pub struct ContentBlockValues {
pub lid: BTreeMap<String, LidEntry>,
pub cb_id: BTreeMap<String, CbIdEntry>,
pub custom: BTreeMap<String, CustomEntry>,
}Expand description
Resource-scoped values for a content_block. content_block bodies are
single-body so lid / cb_id / custom live directly under the
resource (RFC §2.2).
Fields§
§lid: BTreeMap<String, LidEntry>§cb_id: BTreeMap<String, CbIdEntry>§custom: BTreeMap<String, CustomEntry>Trait Implementations§
Source§impl Clone for ContentBlockValues
impl Clone for ContentBlockValues
Source§fn clone(&self) -> ContentBlockValues
fn clone(&self) -> ContentBlockValues
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 ContentBlockValues
impl Debug for ContentBlockValues
Source§impl Default for ContentBlockValues
impl Default for ContentBlockValues
Source§fn default() -> ContentBlockValues
fn default() -> ContentBlockValues
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContentBlockValues
impl<'de> Deserialize<'de> for ContentBlockValues
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 ContentBlockValues
impl RefUnwindSafe for ContentBlockValues
impl Send for ContentBlockValues
impl Sync for ContentBlockValues
impl Unpin for ContentBlockValues
impl UnsafeUnpin for ContentBlockValues
impl UnwindSafe for ContentBlockValues
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