Struct radicle_cob::change::store::Template
source · pub struct Template<Id> {
pub type_name: TypeName,
pub tips: Vec<Id>,
pub message: String,
pub embeds: Vec<Embed>,
pub contents: NonEmpty<Vec<u8>>,
}
Expand description
Change template, used to create a new change.
Fields§
§type_name: TypeName
§tips: Vec<Id>
§message: String
§embeds: Vec<Embed>
§contents: NonEmpty<Vec<u8>>
Auto Trait Implementations§
impl<Id> Freeze for Template<Id>
impl<Id> RefUnwindSafe for Template<Id>where
Id: RefUnwindSafe,
impl<Id> Send for Template<Id>where
Id: Send,
impl<Id> Sync for Template<Id>where
Id: Sync,
impl<Id> Unpin for Template<Id>where
Id: Unpin,
impl<Id> UnwindSafe for Template<Id>where
Id: UnwindSafe,
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