Struct sep2_common::packages::pubsub::SubscriptionBase
source · pub struct SubscriptionBase {
pub subscribed_resource: String,
pub href: Option<String>,
}
Available on crate feature
pubsub
only.Fields§
§subscribed_resource: String
The resource for which the subscription applies. Query string parameters SHALL NOT be specified when subscribing to list resources. Should a query string parameter be specified, servers SHALL ignore them.
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 SubscriptionBase
impl Clone for SubscriptionBase
source§fn clone(&self) -> SubscriptionBase
fn clone(&self) -> SubscriptionBase
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 SubscriptionBase
impl Debug for SubscriptionBase
source§impl Default for SubscriptionBase
impl Default for SubscriptionBase
source§fn default() -> SubscriptionBase
fn default() -> SubscriptionBase
Returns the “default value” for a type. Read more
source§impl PartialEq<SubscriptionBase> for SubscriptionBase
impl PartialEq<SubscriptionBase> for SubscriptionBase
source§fn eq(&self, other: &SubscriptionBase) -> bool
fn eq(&self, other: &SubscriptionBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SEResource for SubscriptionBase
impl SEResource for SubscriptionBase
source§impl YaDeserialize for SubscriptionBase
impl YaDeserialize for SubscriptionBase
source§impl YaSerialize for SubscriptionBase
impl YaSerialize for SubscriptionBase
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 SubscriptionBase
impl StructuralEq for SubscriptionBase
impl StructuralPartialEq for SubscriptionBase
Auto Trait Implementations§
impl RefUnwindSafe for SubscriptionBase
impl Send for SubscriptionBase
impl Sync for SubscriptionBase
impl Unpin for SubscriptionBase
impl UnwindSafe for SubscriptionBase
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