pub struct CiscoIpPhoneSetBackgroundPreview {
pub image_url: PhoneBackgroundHttpUrl,
}Expand description
Background-preview application document.
Fields§
§image_url: PhoneBackgroundHttpUrlImplementations§
Source§impl CiscoIpPhoneSetBackgroundPreview
impl CiscoIpPhoneSetBackgroundPreview
Sourcepub const fn new(image_url: PhoneBackgroundHttpUrl) -> Self
pub const fn new(image_url: PhoneBackgroundHttpUrl) -> Self
Creates a preview request from a validated image URL.
Sourcepub fn from_xml(document: &[u8]) -> Result<Self, PhoneXmlError>
pub fn from_xml(document: &[u8]) -> Result<Self, PhoneXmlError>
Parses a preview request using PHONE_BACKGROUND_CONTROL_MAX_BYTES.
Sourcepub fn to_xml(&self) -> Result<String, PhoneXmlError>
pub fn to_xml(&self) -> Result<String, PhoneXmlError>
Serializes a preview request using PHONE_BACKGROUND_CONTROL_MAX_BYTES.
Trait Implementations§
Source§impl Clone for CiscoIpPhoneSetBackgroundPreview
impl Clone for CiscoIpPhoneSetBackgroundPreview
Source§fn clone(&self) -> CiscoIpPhoneSetBackgroundPreview
fn clone(&self) -> CiscoIpPhoneSetBackgroundPreview
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for CiscoIpPhoneSetBackgroundPreview
impl<'de> Deserialize<'de> for CiscoIpPhoneSetBackgroundPreview
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CiscoIpPhoneSetBackgroundPreview
impl StructuralPartialEq for CiscoIpPhoneSetBackgroundPreview
Auto Trait Implementations§
impl Freeze for CiscoIpPhoneSetBackgroundPreview
impl RefUnwindSafe for CiscoIpPhoneSetBackgroundPreview
impl Send for CiscoIpPhoneSetBackgroundPreview
impl Sync for CiscoIpPhoneSetBackgroundPreview
impl Unpin for CiscoIpPhoneSetBackgroundPreview
impl UnsafeUnpin for CiscoIpPhoneSetBackgroundPreview
impl UnwindSafe for CiscoIpPhoneSetBackgroundPreview
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