pub struct CustomTextFormat {
pub type_: TextFormatType,
pub rest: Rest,
}Fields§
§type_: TextFormatType§rest: RestImplementations§
Source§impl CustomTextFormat
impl CustomTextFormat
Sourcepub fn builder(type_: TextFormatType) -> CustomTextFormatBuilder
pub fn builder(type_: TextFormatType) -> CustomTextFormatBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for CustomTextFormat
impl Clone for CustomTextFormat
Source§impl Debug for CustomTextFormat
impl Debug for CustomTextFormat
Source§impl DeclaredFields for CustomTextFormat
impl DeclaredFields for CustomTextFormat
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for CustomTextFormat
impl<'de> Deserialize<'de> for CustomTextFormat
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
impl Eq for CustomTextFormat
Source§impl PartialEq for CustomTextFormat
impl PartialEq for CustomTextFormat
Source§impl Serialize for CustomTextFormat
impl Serialize for CustomTextFormat
impl StructuralPartialEq for CustomTextFormat
Auto Trait Implementations§
impl Freeze for CustomTextFormat
impl RefUnwindSafe for CustomTextFormat
impl Send for CustomTextFormat
impl Sync for CustomTextFormat
impl Unpin for CustomTextFormat
impl UnsafeUnpin for CustomTextFormat
impl UnwindSafe for CustomTextFormat
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