pub struct ServiceDescription { /* private fields */ }
Implementations§
Source§impl ServiceDescription
impl ServiceDescription
pub fn new(endpoint: IriS) -> ServiceDescription
pub fn from_path<P: AsRef<Path>>( path: P, format: &RDFFormat, base: Option<&str>, reader_mode: &ReaderMode, ) -> Result<ServiceDescription, ServiceDescriptionError>
pub fn from_reader<R: BufRead>( read: R, format: &RDFFormat, base: Option<&str>, reader_mode: &ReaderMode, ) -> Result<ServiceDescription, ServiceDescriptionError>
pub fn add_supported_language( &mut self, supported_language: &[SupportedLanguage], )
pub fn add_feature(&mut self, feature: &[Feature])
pub fn add_result_format(&mut self, result_format: &[ResultFormat])
pub fn add_default_dataset(&mut self, default_dataset: &Dataset)
Trait Implementations§
Source§impl Clone for ServiceDescription
impl Clone for ServiceDescription
Source§fn clone(&self) -> ServiceDescription
fn clone(&self) -> ServiceDescription
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 ServiceDescription
impl Debug for ServiceDescription
Source§impl Default for ServiceDescription
impl Default for ServiceDescription
Source§fn default() -> ServiceDescription
fn default() -> ServiceDescription
Returns the “default value” for a type. Read more
Source§impl Display for ServiceDescription
impl Display for ServiceDescription
Source§impl PartialEq for ServiceDescription
impl PartialEq for ServiceDescription
impl Eq for ServiceDescription
impl StructuralPartialEq for ServiceDescription
Auto Trait Implementations§
impl Freeze for ServiceDescription
impl RefUnwindSafe for ServiceDescription
impl Send for ServiceDescription
impl Sync for ServiceDescription
impl Unpin for ServiceDescription
impl UnwindSafe for ServiceDescription
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more