pub struct Module {
pub id: ModuleId,
pub stable_id: StableModuleId,
pub body: ModuleBody,
pub is_complete: bool,
pub is_updated: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}
Expand description
Over the wire representation of a module.
Fields§
§id: ModuleId
The module’s unique ID.
stable_id: StableModuleId
ID that doesn’t change when publishing.
body: ModuleBody
The module’s body.
is_complete: bool
Whether the module is complete or not.
is_updated: bool
Whether a jig has been updated.
created_at: DateTime<Utc>
When the module was originally created.
updated_at: DateTime<Utc>
When the module was last updated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Module
impl<'de> Deserialize<'de> for Module
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
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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