pub struct ProgramDirective {
pub name: CamelCaseString,
pub address: String,
}Fields§
§name: CamelCaseString§address: StringImplementations§
Trait Implementations§
Source§impl Debug for ProgramDirective
impl Debug for ProgramDirective
Source§impl From<ProgramDirective> for CodamaDirective
impl From<ProgramDirective> for CodamaDirective
Source§fn from(value: ProgramDirective) -> Self
fn from(value: ProgramDirective) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ProgramDirective
impl PartialEq for ProgramDirective
Source§impl<'a> TryFrom<&'a Attribute<'a>> for &'a ProgramDirective
impl<'a> TryFrom<&'a Attribute<'a>> for &'a ProgramDirective
Source§impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a ProgramDirective
impl<'a> TryFrom<&'a CodamaAttribute<'a>> for &'a ProgramDirective
Source§type Error = CodamaError
type Error = CodamaError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ProgramDirective
Auto Trait Implementations§
impl Freeze for ProgramDirective
impl RefUnwindSafe for ProgramDirective
impl Send for ProgramDirective
impl Sync for ProgramDirective
impl Unpin for ProgramDirective
impl UnsafeUnpin for ProgramDirective
impl UnwindSafe for ProgramDirective
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