Struct pact_models::content_types::TEXT [−][src]
pub struct TEXT { /* fields omitted */ }
Expand description
TEXT Content Type
Methods from Deref<Target = ContentType>
If it is a XML type (not including ones with suffixes like atom+xml)
Returns the base type with no attributes or suffix
If the content type is the default type
Equals, ignoring attributes if not present on self
Trait Implementations
type Target = ContentType
type Target = ContentType
The resulting type after dereferencing.
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for TEXT
impl UnwindSafe for TEXT
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more