Expose error types, hide Length type
This commit is contained in:
parent
43bc990275
commit
f246e780d4
1 changed files with 4 additions and 1 deletions
|
@ -15,10 +15,13 @@
|
||||||
use crate::either::Either;
|
use crate::either::Either;
|
||||||
|
|
||||||
pub use activitystreams::primitives::{
|
pub use activitystreams::primitives::{
|
||||||
Length, MimeMediaType, RdfLangString, XsdAnyUri, XsdDateTime, XsdDuration, XsdFloat,
|
MimeMediaType, MimeMediaTypeError, RdfLangString, XsdAnyUri, XsdAnyUriError, XsdDateTime,
|
||||||
|
XsdDateTimeError, XsdDuration, XsdDurationError, XsdFloat, XsdFloatError,
|
||||||
XsdNonNegativeInteger, XsdString,
|
XsdNonNegativeInteger, XsdString,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
use activitystreams::primitives::Length;
|
||||||
|
|
||||||
/// A type representing any kind of string
|
/// A type representing any kind of string
|
||||||
///
|
///
|
||||||
/// In the ActivityStreams specification, string types are often defined as either an xsd:String or
|
/// In the ActivityStreams specification, string types are often defined as either an xsd:String or
|
||||||
|
|
Loading…
Reference in a new issue