pub struct SubscribableIdentifiedObject {
pub mrid: MRIDType,
pub description: Option<String32>,
pub version: Option<VersionType>,
pub subscribable: Option<SubscribableType>,
pub href: Option<String>,
}
Expand description
An IdentifiedObject to which a Response can be requested.
Fields§
§mrid: MRIDType
The global identifier of the object.
description: Option<String32>
The description is a human readable text describing or naming the object.
version: Option<VersionType>
Contains the version number of the object. See the type definition for details.
subscribable: Option<SubscribableType>
Indicates whether or not subscriptions are supported for this resource, and whether or not conditional (thresholds) are supported. If not specified, is “not subscribable” (0).
href: Option<String>
A reference to the resource address (URI). Required in a response to a GET, ignored otherwise.
Trait Implementations§
source§impl Clone for SubscribableIdentifiedObject
impl Clone for SubscribableIdentifiedObject
source§fn clone(&self) -> SubscribableIdentifiedObject
fn clone(&self) -> SubscribableIdentifiedObject
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 SubscribableIdentifiedObject
impl Debug for SubscribableIdentifiedObject
source§impl Default for SubscribableIdentifiedObject
impl Default for SubscribableIdentifiedObject
source§fn default() -> SubscribableIdentifiedObject
fn default() -> SubscribableIdentifiedObject
Returns the “default value” for a type. Read more
source§impl PartialEq<SubscribableIdentifiedObject> for SubscribableIdentifiedObject
impl PartialEq<SubscribableIdentifiedObject> for SubscribableIdentifiedObject
source§fn eq(&self, other: &SubscribableIdentifiedObject) -> bool
fn eq(&self, other: &SubscribableIdentifiedObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SESubscribableResource for SubscribableIdentifiedObject
impl SESubscribableResource for SubscribableIdentifiedObject
fn subscribable(&self) -> Option<SubscribableType>
source§impl YaDeserialize for SubscribableIdentifiedObject
impl YaDeserialize for SubscribableIdentifiedObject
source§impl YaSerialize for SubscribableIdentifiedObject
impl YaSerialize for SubscribableIdentifiedObject
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Eq for SubscribableIdentifiedObject
impl SESubscribableIdentifiedObject for SubscribableIdentifiedObject
impl StructuralEq for SubscribableIdentifiedObject
impl StructuralPartialEq for SubscribableIdentifiedObject
Auto Trait Implementations§
impl RefUnwindSafe for SubscribableIdentifiedObject
impl Send for SubscribableIdentifiedObject
impl Sync for SubscribableIdentifiedObject
impl Unpin for SubscribableIdentifiedObject
impl UnwindSafe for SubscribableIdentifiedObject
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