[−][src]Struct tiberius::xml::XmlData
A representation of XML data in TDS. Holds the data as a UTF-8 string and and optional information about the schema.
Implementations
impl XmlData
[src]
pub fn new(data: impl ToString) -> Self
[src]
Create a new XmlData with the given string. Validation of the XML data happens in the database.
pub fn schema(&self) -> Option<&XmlSchema>
[src]
Returns information about the schema of the XML file, if existing.
pub fn into_string(self) -> String
[src]
Takes the XML string out from the struct.
Trait Implementations
impl AsRef<str> for XmlData
[src]
impl Clone for XmlData
[src]
impl Debug for XmlData
[src]
impl<'a> FromSql<'a> for &'a XmlData
[src]
fn from_sql(value: &'a ColumnData<'static>) -> Result<Option<Self>>
[src]
impl FromSqlOwned for XmlData
[src]
fn from_sql_owned(value: ColumnData<'static>) -> Result<Option<Self>>
[src]
impl PartialEq<XmlData> for XmlData
[src]
impl StructuralPartialEq for XmlData
[src]
impl ToSql for XmlData
[src]
fn to_sql(&self) -> ColumnData
[src]
impl ToString for XmlData
[src]
Auto Trait Implementations
impl RefUnwindSafe for XmlData
impl Send for XmlData
impl Sync for XmlData
impl Unpin for XmlData
impl UnwindSafe for XmlData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,