pub struct StructFieldDisplayNode {
pub label: Option<String>,
pub skip: Option<DisplaySkip>,
pub flatten: Option<bool>,
pub flatten_prefix: Option<String>,
}Fields§
§label: Option<String>§skip: Option<DisplaySkip>§flatten: Option<bool>§flatten_prefix: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for StructFieldDisplayNode
impl Clone for StructFieldDisplayNode
Source§fn clone(&self) -> StructFieldDisplayNode
fn clone(&self) -> StructFieldDisplayNode
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 StructFieldDisplayNode
impl Debug for StructFieldDisplayNode
Source§impl Default for StructFieldDisplayNode
impl Default for StructFieldDisplayNode
Source§fn default() -> StructFieldDisplayNode
fn default() -> StructFieldDisplayNode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StructFieldDisplayNode
impl<'de> Deserialize<'de> for StructFieldDisplayNode
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
Source§impl From<StructFieldDisplayNode> for DisplayNode
impl From<StructFieldDisplayNode> for DisplayNode
Source§fn from(value: StructFieldDisplayNode) -> Self
fn from(value: StructFieldDisplayNode) -> Self
Converts to this type from the input type.
Source§impl From<StructFieldDisplayNode> for Node
impl From<StructFieldDisplayNode> for Node
Source§fn from(val: StructFieldDisplayNode) -> Self
fn from(val: StructFieldDisplayNode) -> Self
Converts to this type from the input type.
Source§impl NodeTrait for StructFieldDisplayNode
impl NodeTrait for StructFieldDisplayNode
const KIND: &'static str = "structFieldDisplayNode"
fn to_json(&self) -> CodamaResult<String>
fn to_json_pretty(&self) -> CodamaResult<String>
fn from_json(json: &str) -> CodamaResult<Self>
Source§impl PartialEq for StructFieldDisplayNode
impl PartialEq for StructFieldDisplayNode
Source§impl Serialize for StructFieldDisplayNode
impl Serialize for StructFieldDisplayNode
impl StructuralPartialEq for StructFieldDisplayNode
Auto Trait Implementations§
impl Freeze for StructFieldDisplayNode
impl RefUnwindSafe for StructFieldDisplayNode
impl Send for StructFieldDisplayNode
impl Sync for StructFieldDisplayNode
impl Unpin for StructFieldDisplayNode
impl UnsafeUnpin for StructFieldDisplayNode
impl UnwindSafe for StructFieldDisplayNode
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