pub struct CreateSubscription {
pub id: String,
pub version_id: VersionId,
pub tenant: TenantId,
pub project: ProjectId,
pub status: String,
pub reason: String,
pub critieria: String,
pub channel_type: String,
pub channel_endpoint: Option<String>,
pub channel_payload: Option<String>,
pub channel_headers: Option<Value>,
}Fields§
§id: String§version_id: VersionId§tenant: TenantId§project: ProjectId§status: String§reason: String§critieria: String§channel_type: String§channel_endpoint: Option<String>§channel_payload: Option<String>§channel_headers: Option<Value>Auto Trait Implementations§
impl Freeze for CreateSubscription
impl RefUnwindSafe for CreateSubscription
impl Send for CreateSubscription
impl Sync for CreateSubscription
impl Unpin for CreateSubscription
impl UnsafeUnpin for CreateSubscription
impl UnwindSafe for CreateSubscription
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more