pub struct SectionWrite {
pub data: Option<Option<Value>>,
pub id: Option<String>,
pub kind: Option<String>,
pub ord: Option<i32>,
}Fields§
§data: Option<Option<Value>>§id: Option<String>ID is the record’s id. Omit it on a create and one is minted; the single-valued sections (profile, risk) hold one record whatever is named.
kind: Option<String>Kind is the section being written. The URL is the authority.
ord: Option<i32>Ord orders this record within its section, ascending, ties broken by id. It is the organization’s own ordering — the page renders in it.
Implementations§
Source§impl SectionWrite
impl SectionWrite
pub fn new() -> SectionWrite
Trait Implementations§
Source§impl Clone for SectionWrite
impl Clone for SectionWrite
Source§fn clone(&self) -> SectionWrite
fn clone(&self) -> SectionWrite
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 SectionWrite
impl Debug for SectionWrite
Source§impl Default for SectionWrite
impl Default for SectionWrite
Source§fn default() -> SectionWrite
fn default() -> SectionWrite
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SectionWrite
impl<'de> Deserialize<'de> for SectionWrite
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 PartialEq for SectionWrite
impl PartialEq for SectionWrite
Source§impl Serialize for SectionWrite
impl Serialize for SectionWrite
impl StructuralPartialEq for SectionWrite
Auto Trait Implementations§
impl Freeze for SectionWrite
impl RefUnwindSafe for SectionWrite
impl Send for SectionWrite
impl Sync for SectionWrite
impl Unpin for SectionWrite
impl UnsafeUnpin for SectionWrite
impl UnwindSafe for SectionWrite
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