pub struct Site {
pub name: String,
pub unique_id: String,
pub number_of_patients: usize,
pub count_of_randomized_patients: usize,
pub when_created: Option<DateTime<Utc>>,
pub creator: String,
pub number_of_forms: usize,
pub forms: Option<Vec<Form>>,
}Fields§
§name: String§unique_id: String§number_of_patients: usize§count_of_randomized_patients: usize§when_created: Option<DateTime<Utc>>§creator: String§number_of_forms: usize§forms: Option<Vec<Form>>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Site
impl<'de> Deserialize<'de> for Site
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 Site
Auto Trait Implementations§
impl Freeze for Site
impl RefUnwindSafe for Site
impl Send for Site
impl Sync for Site
impl Unpin for Site
impl UnwindSafe for Site
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