pub struct TemplateReply {
pub disclaimer: Option<String>,
pub template: Option<Box<LegalTemplate>>,
}Fields§
§disclaimer: Option<String>Disclaimer is the boundary made visible on the wire.
template: Option<Box<LegalTemplate>>Template is the resolved template — the org’s override if it has one, else the built-in.
Implementations§
Source§impl TemplateReply
impl TemplateReply
pub fn new() -> TemplateReply
Trait Implementations§
Source§impl Clone for TemplateReply
impl Clone for TemplateReply
Source§fn clone(&self) -> TemplateReply
fn clone(&self) -> TemplateReply
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 TemplateReply
impl Debug for TemplateReply
Source§impl Default for TemplateReply
impl Default for TemplateReply
Source§fn default() -> TemplateReply
fn default() -> TemplateReply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TemplateReply
impl<'de> Deserialize<'de> for TemplateReply
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 PartialEq for TemplateReply
impl PartialEq for TemplateReply
Source§impl Serialize for TemplateReply
impl Serialize for TemplateReply
impl StructuralPartialEq for TemplateReply
Auto Trait Implementations§
impl Freeze for TemplateReply
impl RefUnwindSafe for TemplateReply
impl Send for TemplateReply
impl Sync for TemplateReply
impl Unpin for TemplateReply
impl UnsafeUnpin for TemplateReply
impl UnwindSafe for TemplateReply
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