Trait Element

Source
pub trait Element {
    const NAMESPACE: &'static str;
    const PREFIX: &'static str;
    const LOCAL_NAME: &'static str;
}
Expand description

Declares an element’s namespace and tag

Required Associated Constants§

Source

const NAMESPACE: &'static str

XML namespace of the element, e.g. DAV:

Source

const PREFIX: &'static str

The prefix used to abbreviate the namespace, e.g. d

Source

const LOCAL_NAME: &'static str

The local name of the element (the name inside the namespace), e.g. multistatus

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Element for Propfind

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "propfind"

Source§

impl Element for Response

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "response"

Source§

impl Element for Href

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "href"

Source§

impl Element for Include

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "include"

Source§

impl Element for Multistatus

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "multistatus"

Source§

impl Element for Properties

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "prop"

Source§

impl Element for Propstat

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "propstat"

Source§

impl Element for ResponseDescription

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "responsedescription"

Source§

impl Element for Status

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "status"

Source§

impl Element for Collection

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "collection"

Source§

impl Element for ContentLanguage

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "getcontentlanguage"

Source§

impl Element for ContentLength

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "getcontentlength"

Source§

impl Element for ContentType

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "getcontenttype"

Source§

impl Element for CreationDate

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "creationdate"

Source§

impl Element for DisplayName

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "displayname"

Source§

impl Element for ETag

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "getetag"

Source§

impl Element for LastModified

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "getlastmodified"

Source§

impl Element for LockDiscovery

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "lockdiscovery"

Source§

impl Element for ResourceType

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "resourcetype"

Source§

impl Element for SupportedLock

Source§

const NAMESPACE: &'static str = DAV_NAMESPACE

Source§

const PREFIX: &'static str = DAV_PREFIX

Source§

const LOCAL_NAME: &'static str = "supportedlock"