pub struct SectionAddress {
pub path: Option<Value>,
pub heading: Option<Value>,
pub ordinal: Option<Value>,
}Expand description
The section argument split into the fields the resolver reads.
path and heading are two spellings of the same thing — the schemes under
test used both — and path wins when it is truthy, which is Python’s or
and not a preference.
Fields§
§path: Option<Value>§heading: Option<Value>§ordinal: Option<Value>Implementations§
Trait Implementations§
Source§impl Clone for SectionAddress
impl Clone for SectionAddress
Source§fn clone(&self) -> SectionAddress
fn clone(&self) -> SectionAddress
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 SectionAddress
impl Debug for SectionAddress
Source§impl Default for SectionAddress
impl Default for SectionAddress
Source§fn default() -> SectionAddress
fn default() -> SectionAddress
Returns the “default value” for a type. Read more
Source§impl From<&str> for SectionAddress
impl From<&str> for SectionAddress
Source§impl PartialEq for SectionAddress
impl PartialEq for SectionAddress
impl StructuralPartialEq for SectionAddress
Auto Trait Implementations§
impl Freeze for SectionAddress
impl RefUnwindSafe for SectionAddress
impl Send for SectionAddress
impl Sync for SectionAddress
impl Unpin for SectionAddress
impl UnsafeUnpin for SectionAddress
impl UnwindSafe for SectionAddress
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