pub struct Publisher {
pub links: Option<Value>,
pub description: Option<String>,
pub id: Option<String>,
pub input_descriptors: Vec<InputDescriptor>,
pub name: Option<String>,
pub service_instance_type: Option<String>,
pub supported_events: Vec<EventTypeDescriptor>,
pub url: Option<String>,
}Expand description
Defines the data contract of an event publisher.
Fields§
§links: Option<Value>Links
description: Option<String>Gets this publisher’s localized description.
id: Option<String>Gets this publisher’s identifier.
input_descriptors: Vec<InputDescriptor>Publisher-specific inputs
name: Option<String>Gets this publisher’s localized name.
service_instance_type: Option<String>The service instance type of the first party publisher.
supported_events: Vec<EventTypeDescriptor>Gets this publisher’s supported event types.
url: Option<String>The url for this resource
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Publisher
impl<'de> Deserialize<'de> for Publisher
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 StructuralPartialEq for Publisher
Auto Trait Implementations§
impl Freeze for Publisher
impl RefUnwindSafe for Publisher
impl Send for Publisher
impl Sync for Publisher
impl Unpin for Publisher
impl UnwindSafe for Publisher
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
impl<D> DeserializeWith<JsonFormat> for Dwhere
D: DeserializeOwned,
Source§fn deserialize_with(body: ResponseBody) -> Result<D, Error>
fn deserialize_with(body: ResponseBody) -> Result<D, Error>
Deserialize the response body using the specified format. Read more