pub struct Project {
pub id: u16,
pub app_name: String,
pub workspace_name: String,
pub package_name: String,
pub version_code: u16,
pub version_name: String,
pub date_created: u64,
pub custom_icon: bool,
pub color_palette: ProjectColorPalette,
pub sketchware_version: u8,
}Fields§
§id: u16§app_name: String§workspace_name: String§package_name: String§version_code: u16§version_name: String§date_created: u64§custom_icon: bool§color_palette: ProjectColorPalette§sketchware_version: u8Trait Implementations§
Source§impl<'de> Deserialize<'de> for Project
impl<'de> Deserialize<'de> for Project
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 Parsable for Project
impl Parsable for Project
type ParseError = Error
type ReconstructionError = Error
Source§fn parse(project: &str) -> Result<Project, Self::ParseError>
fn parse(project: &str) -> Result<Project, Self::ParseError>
Parses a decrypted content of itself and returns an instance of itself wrapped around a
ResultSource§fn reconstruct(&self) -> Result<String, Self::ReconstructionError>
fn reconstruct(&self) -> Result<String, Self::ReconstructionError>
Reconstructs itself into a string form wrapped around a
Result
by default, if not implemented, this will panic (unimplemented!())impl Eq for Project
impl StructuralPartialEq for Project
Auto Trait Implementations§
impl Freeze for Project
impl RefUnwindSafe for Project
impl Send for Project
impl Sync for Project
impl Unpin for Project
impl UnsafeUnpin for Project
impl UnwindSafe for Project
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