Struct wick_config::v1::ErrorPacket
source · pub struct ErrorPacket {
pub name: String,
pub flags: Option<PacketFlags>,
pub flag: Option<PacketFlag>,
pub error: LiquidTemplate,
}Fields§
§name: StringThe name of the input or output this packet is going to or coming from.
flags: Option<PacketFlags>👎Deprecated
Any flags set on the packet. Deprecated, use 'flag:' instead
flag: Option<PacketFlag>The flag set on the packet.
error: LiquidTemplateThe error message.
Trait Implementations§
source§impl Clone for ErrorPacket
impl Clone for ErrorPacket
source§fn clone(&self) -> ErrorPacket
fn clone(&self) -> ErrorPacket
Returns a copy of the value. Read more
1.0.0 · 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 ErrorPacket
impl Debug for ErrorPacket
source§impl<'de> Deserialize<'de> for ErrorPacket
impl<'de> Deserialize<'de> for ErrorPacket
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<ErrorPacket> for ErrorPacket
impl PartialEq<ErrorPacket> for ErrorPacket
source§fn eq(&self, other: &ErrorPacket) -> bool
fn eq(&self, other: &ErrorPacket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ErrorPacket
impl Serialize for ErrorPacket
source§impl TryFrom<ErrorPacket> for ErrorPayload
impl TryFrom<ErrorPacket> for ErrorPayload
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: ErrorPacket) -> Result<Self, ManifestError>
fn try_from(value: ErrorPacket) -> Result<Self, ManifestError>
Performs the conversion.
source§impl TryFrom<ErrorPayload> for ErrorPacket
impl TryFrom<ErrorPayload> for ErrorPacket
§type Error = ManifestError
type Error = ManifestError
The type returned in the event of a conversion error.
source§fn try_from(value: ErrorPayload) -> Result<Self, ManifestError>
fn try_from(value: ErrorPayload) -> Result<Self, ManifestError>
Performs the conversion.
impl StructuralPartialEq for ErrorPacket
Auto Trait Implementations§
impl RefUnwindSafe for ErrorPacket
impl Send for ErrorPacket
impl Sync for ErrorPacket
impl Unpin for ErrorPacket
impl UnwindSafe for ErrorPacket
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