pub struct DavSearchGrammar {
pub coded_url: &'static str,
pub xml_namespace: &'static str,
pub xml_local_name: &'static str,
}Expand description
One RFC 5323 query grammar’s HTTP identifier and XML element type.
RFC 5323 explicitly states that the DASL coded-URL does not necessarily correspond to the XML
element namespace and local name. Keeping all three fields prevents discovery responses from
guessing an XML QName from a URI.
Fields§
§coded_url: &'static strAbsolute-URI rendered inside angle brackets in the DASL response header.
xml_namespace: &'static strNamespace URI reference of the grammar element; an empty string means no namespace.
xml_local_name: &'static strXML local name of the grammar element.
Implementations§
Trait Implementations§
Source§impl Clone for DavSearchGrammar
impl Clone for DavSearchGrammar
Source§fn clone(&self) -> DavSearchGrammar
fn clone(&self) -> DavSearchGrammar
Returns a duplicate 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 DavSearchGrammar
impl Debug for DavSearchGrammar
Source§impl PartialEq for DavSearchGrammar
impl PartialEq for DavSearchGrammar
impl Copy for DavSearchGrammar
impl Eq for DavSearchGrammar
impl StructuralPartialEq for DavSearchGrammar
Auto Trait Implementations§
impl Freeze for DavSearchGrammar
impl RefUnwindSafe for DavSearchGrammar
impl Send for DavSearchGrammar
impl Sync for DavSearchGrammar
impl Unpin for DavSearchGrammar
impl UnwindSafe for DavSearchGrammar
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.