pub enum Substance {
Show 29 variants
Empty,
List(SubstanceList),
Map(SubstanceMap),
Point(Point),
Surface(Surface),
Text(String),
Stub(Stub),
Details(Details),
Meta(Meta),
Bin(Bin),
Boolean(bool),
Int(i64),
Status(Status),
Particle(Particle),
Location(ParticleLocation),
RawCommand(RawCommand),
Command(Box<Command>),
FormErrs(FormErrs),
Json(Value),
MultipartForm(MultipartForm),
DirectedCore(Box<DirectedCore>),
ReflectedCore(Box<ReflectedCore>),
Hyper(HyperSubstance),
Token(Token),
UltraWave(Box<UltraWave>),
Knock(Knock),
Greet(Greet),
Log(LogSubstance),
Err(SpaceErr),
}Variants§
Empty
List(SubstanceList)
Map(SubstanceMap)
Point(Point)
Surface(Surface)
Text(String)
Stub(Stub)
Details(Details)
Meta(Meta)
Bin(Bin)
Boolean(bool)
Int(i64)
Status(Status)
Particle(Particle)
Location(ParticleLocation)
RawCommand(RawCommand)
Command(Box<Command>)
FormErrs(FormErrs)
Json(Value)
MultipartForm(MultipartForm)
DirectedCore(Box<DirectedCore>)
ReflectedCore(Box<ReflectedCore>)
Hyper(HyperSubstance)
Token(Token)
UltraWave(Box<UltraWave>)
Knock(Knock)
Greet(Greet)
Log(LogSubstance)
Err(SpaceErr)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Substance
impl<'de> Deserialize<'de> for Substance
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 From<DirectedCore> for Substance
impl From<DirectedCore> for Substance
Source§fn from(f: DirectedCore) -> Substance
fn from(f: DirectedCore) -> Substance
Converts to this type from the input type.
Source§impl From<HyperSubstance> for Substance
impl From<HyperSubstance> for Substance
Source§fn from(f: HyperSubstance) -> Substance
fn from(f: HyperSubstance) -> Substance
Converts to this type from the input type.
Source§impl From<LogSubstance> for Substance
impl From<LogSubstance> for Substance
Source§fn from(f: LogSubstance) -> Substance
fn from(f: LogSubstance) -> Substance
Converts to this type from the input type.
Source§impl From<MultipartForm> for Substance
impl From<MultipartForm> for Substance
Source§fn from(f: MultipartForm) -> Substance
fn from(f: MultipartForm) -> Substance
Converts to this type from the input type.
Source§impl From<ParticleLocation> for Substance
impl From<ParticleLocation> for Substance
Source§fn from(f: ParticleLocation) -> Substance
fn from(f: ParticleLocation) -> Substance
Converts to this type from the input type.
Source§impl From<RawCommand> for Substance
impl From<RawCommand> for Substance
Source§fn from(f: RawCommand) -> Substance
fn from(f: RawCommand) -> Substance
Converts to this type from the input type.
Source§impl From<ReflectedCore> for Substance
impl From<ReflectedCore> for Substance
Source§fn from(f: ReflectedCore) -> Substance
fn from(f: ReflectedCore) -> Substance
Converts to this type from the input type.
Source§impl From<SubstanceList> for Substance
impl From<SubstanceList> for Substance
Source§fn from(f: SubstanceList) -> Substance
fn from(f: SubstanceList) -> Substance
Converts to this type from the input type.
Source§impl From<SubstanceMap> for Substance
impl From<SubstanceMap> for Substance
Source§fn from(f: SubstanceMap) -> Substance
fn from(f: SubstanceMap) -> Substance
Converts to this type from the input type.
Source§impl From<UltraWaveDef<Recipients>> for Substance
impl From<UltraWaveDef<Recipients>> for Substance
Source§impl ToSubstance<()> for Substance
impl ToSubstance<()> for Substance
Source§impl ToSubstance<Command> for Substance
impl ToSubstance<Command> for Substance
Source§impl ToSubstance<Details> for Substance
impl ToSubstance<Details> for Substance
Source§impl ToSubstance<DirectedCore> for Substance
impl ToSubstance<DirectedCore> for Substance
fn to_substance(self) -> Result<DirectedCore, SpaceErr>
fn to_substance_ref(&self) -> Result<&DirectedCore, SpaceErr>
Source§impl ToSubstance<FormErrs> for Substance
impl ToSubstance<FormErrs> for Substance
Source§impl ToSubstance<Greet> for Substance
impl ToSubstance<Greet> for Substance
Source§impl ToSubstance<HyperSubstance> for Substance
impl ToSubstance<HyperSubstance> for Substance
fn to_substance(self) -> Result<HyperSubstance, SpaceErr>
fn to_substance_ref(&self) -> Result<&HyperSubstance, SpaceErr>
Source§impl ToSubstance<Knock> for Substance
impl ToSubstance<Knock> for Substance
Source§impl ToSubstance<LogSubstance> for Substance
impl ToSubstance<LogSubstance> for Substance
fn to_substance(self) -> Result<LogSubstance, SpaceErr>
fn to_substance_ref(&self) -> Result<&LogSubstance, SpaceErr>
Source§impl ToSubstance<MultipartForm> for Substance
impl ToSubstance<MultipartForm> for Substance
fn to_substance(self) -> Result<MultipartForm, SpaceErr>
fn to_substance_ref(&self) -> Result<&MultipartForm, SpaceErr>
Source§impl ToSubstance<Particle> for Substance
impl ToSubstance<Particle> for Substance
Source§impl ToSubstance<ParticleLocation> for Substance
impl ToSubstance<ParticleLocation> for Substance
fn to_substance(self) -> Result<ParticleLocation, SpaceErr>
fn to_substance_ref(&self) -> Result<&ParticleLocation, SpaceErr>
Source§impl ToSubstance<RawCommand> for Substance
impl ToSubstance<RawCommand> for Substance
fn to_substance(self) -> Result<RawCommand, SpaceErr>
fn to_substance_ref(&self) -> Result<&RawCommand, SpaceErr>
Source§impl ToSubstance<ReflectedCore> for Substance
impl ToSubstance<ReflectedCore> for Substance
fn to_substance(self) -> Result<ReflectedCore, SpaceErr>
fn to_substance_ref(&self) -> Result<&ReflectedCore, SpaceErr>
Source§impl ToSubstance<SpaceErr> for Substance
impl ToSubstance<SpaceErr> for Substance
Source§impl ToSubstance<Status> for Substance
impl ToSubstance<Status> for Substance
Source§impl ToSubstance<String> for Substance
impl ToSubstance<String> for Substance
Source§impl ToSubstance<Stub> for Substance
impl ToSubstance<Stub> for Substance
Source§impl ToSubstance<SubstanceList> for Substance
impl ToSubstance<SubstanceList> for Substance
fn to_substance(self) -> Result<SubstanceList, SpaceErr>
fn to_substance_ref(&self) -> Result<&SubstanceList, SpaceErr>
Source§impl ToSubstance<SubstanceMap> for Substance
impl ToSubstance<SubstanceMap> for Substance
fn to_substance(self) -> Result<SubstanceMap, SpaceErr>
fn to_substance_ref(&self) -> Result<&SubstanceMap, SpaceErr>
Source§impl ToSubstance<Surface> for Substance
impl ToSubstance<Surface> for Substance
Source§impl ToSubstance<Token> for Substance
impl ToSubstance<Token> for Substance
Source§impl ToSubstance<UltraWaveDef<Recipients>> for Substance
impl ToSubstance<UltraWaveDef<Recipients>> for Substance
Source§impl ToSubstance<Value> for Substance
impl ToSubstance<Value> for Substance
Source§impl ToSubstance<bool> for Substance
impl ToSubstance<bool> for Substance
Source§impl ToSubstance<i64> for Substance
impl ToSubstance<i64> for Substance
Source§impl TryInto<DirectedCore> for Substance
impl TryInto<DirectedCore> for Substance
Source§impl TryInto<HyperSubstance> for Substance
impl TryInto<HyperSubstance> for Substance
Source§impl TryInto<LogSubstance> for Substance
impl TryInto<LogSubstance> for Substance
Source§impl TryInto<MultipartForm> for Substance
impl TryInto<MultipartForm> for Substance
Source§impl TryInto<ParticleLocation> for Substance
impl TryInto<ParticleLocation> for Substance
Source§impl TryInto<RawCommand> for Substance
impl TryInto<RawCommand> for Substance
Source§impl TryInto<ReflectedCore> for Substance
impl TryInto<ReflectedCore> for Substance
Source§impl TryInto<SubstanceList> for Substance
impl TryInto<SubstanceList> for Substance
Source§impl TryInto<SubstanceMap> for Substance
impl TryInto<SubstanceMap> for Substance
Source§impl TryInto<UltraWaveDef<Recipients>> for Substance
impl TryInto<UltraWaveDef<Recipients>> for Substance
Source§impl<Pnt> ValueMatcher<Substance> for SubstancePatternDef<Pnt>
impl<Pnt> ValueMatcher<Substance> for SubstancePatternDef<Pnt>
impl Eq for Substance
impl StructuralPartialEq for Substance
Auto Trait Implementations§
impl Freeze for Substance
impl RefUnwindSafe for Substance
impl Send for Substance
impl Sync for Substance
impl Unpin for Substance
impl UnwindSafe for Substance
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<I, T> ExtractContext<I, ()> for T
impl<I, T> ExtractContext<I, ()> for T
Source§fn extract_context(self, _original_input: I)
fn extract_context(self, _original_input: I)
Given the context attached to a nom error, and given the original
input to the nom parser, extract more the useful context information. Read more
Source§impl<T> Indentable for Twhere
T: Display,
impl<T> Indentable for Twhere
T: Display,
Source§fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
fn indented_skip_initial(self, indent: &str) -> IndentedSkipIntial<'_, Self>
Source§impl<I> RecreateContext<I> for I
impl<I> RecreateContext<I> for I
Source§fn recreate_context(_original_input: I, tail: I) -> I
fn recreate_context(_original_input: I, tail: I) -> I
Given the original input, as well as the context reported by nom,
recreate a context in the original string where the error occurred. Read more