pub struct BuildingDoc {
pub name: String,
pub text: String,
pub bytes: u64,
pub truncated: bool,
}Expand description
One document of a building, as it stands on disk.
The text is bounded: these files are written by agents over months, and a page that ships an unbounded file has no answer for the day one of them reaches a hundred megabytes. When it is cut, it says so - silence about a cut is the difference between a view and a lie.
Fields§
§name: String§text: String§bytes: u64§truncated: boolTrait Implementations§
Source§impl Clone for BuildingDoc
impl Clone for BuildingDoc
Source§impl Debug for BuildingDoc
impl Debug for BuildingDoc
Source§impl<'de> Deserialize<'de> for BuildingDoc
impl<'de> Deserialize<'de> for BuildingDoc
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 Eq for BuildingDoc
Source§impl PartialEq for BuildingDoc
impl PartialEq for BuildingDoc
Source§impl Serialize for BuildingDoc
impl Serialize for BuildingDoc
impl StructuralPartialEq for BuildingDoc
Auto Trait Implementations§
impl Freeze for BuildingDoc
impl RefUnwindSafe for BuildingDoc
impl Send for BuildingDoc
impl Sync for BuildingDoc
impl Unpin for BuildingDoc
impl UnsafeUnpin for BuildingDoc
impl UnwindSafe for BuildingDoc
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