pub struct Accepted {
pub generated_by: String,
pub reason: String,
pub changes: Vec<String>,
pub summaries: Vec<Summary>,
pub census: Census,
}Expand description
The census as accepted: the rows, what they add up to, and why it was last accepted.
Fields§
§generated_by: StringThe command that writes it.
reason: StringWhy the census was last accepted, in the words of whoever accepted it.
changes: Vec<String>What changed then, one line each.
summaries: Vec<Summary>What each group added up to: Census::summaries, written out for a reader, and
never read back: Accepted::refreshed computes them again.
census: CensusThe census.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Accepted
impl<'de> Deserialize<'de> for Accepted
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
impl StructuralPartialEq for Accepted
Auto Trait Implementations§
impl Freeze for Accepted
impl RefUnwindSafe for Accepted
impl Send for Accepted
impl Sync for Accepted
impl Unpin for Accepted
impl UnsafeUnpin for Accepted
impl UnwindSafe for Accepted
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