pub struct TemplateAnnotation { /* private fields */ }Implementations§
Source§impl TemplateAnnotation
impl TemplateAnnotation
pub fn created_at<T>(self, value: T) -> Self
pub fn id<T>(self, value: T) -> Self
pub fn key<T>(self, value: T) -> Self
pub fn template_id<T>(self, value: T) -> Self
pub fn value<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for TemplateAnnotation
impl Clone for TemplateAnnotation
Source§fn clone(&self) -> TemplateAnnotation
fn clone(&self) -> TemplateAnnotation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TemplateAnnotation
impl Debug for TemplateAnnotation
Source§impl Default for TemplateAnnotation
impl Default for TemplateAnnotation
Source§impl From<TemplateAnnotation> for TemplateAnnotation
impl From<TemplateAnnotation> for TemplateAnnotation
Source§fn from(value: TemplateAnnotation) -> Self
fn from(value: TemplateAnnotation) -> Self
Converts to this type from the input type.
Source§impl TryFrom<TemplateAnnotation> for TemplateAnnotation
impl TryFrom<TemplateAnnotation> for TemplateAnnotation
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TemplateAnnotation) -> Result<Self, ConversionError>
fn try_from(value: TemplateAnnotation) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TemplateAnnotation
impl RefUnwindSafe for TemplateAnnotation
impl Send for TemplateAnnotation
impl Sync for TemplateAnnotation
impl Unpin for TemplateAnnotation
impl UnsafeUnpin for TemplateAnnotation
impl UnwindSafe for TemplateAnnotation
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