pub struct Preamble {
pub title: String,
pub description: Option<String>,
pub version: String,
pub plutus_version: String,
pub compiler: Option<Compiler>,
pub license: Option<String>,
}Expand description
Represents the preamble of a blueprint, including metadata such as title, description, version, and compiler information.
Fields§
§title: String§description: Option<String>§version: String§plutus_version: String§compiler: Option<Compiler>§license: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Preamble
impl<'de> Deserialize<'de> for Preamble
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 Preamble
impl RefUnwindSafe for Preamble
impl Send for Preamble
impl Sync for Preamble
impl Unpin for Preamble
impl UnwindSafe for Preamble
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