pub struct GetCampaignByShortCodeResponse {
pub campaign_id: String,
pub org_id: String,
pub organization_name: String,
pub subject: String,
}Expand description
Response carrying the minimum metadata the native app needs to route
the deeplink. Subject is the campaign’s title text (already visible
in the recipient’s inbox after dispatch — no new PII exposure). Body
content, audience size, delivery status and any other operational
fields are NOT included; the app fetches those via authenticated
GetCampaign after the recipient signs in.
Fields§
§campaign_id: StringCampaign UUID — the app uses this for the authenticated GetCampaign
follow-up after the deeplink token validates.
org_id: StringOrganization UUID owning the campaign — lets the app pick the correct SSO / sign-in flow when the recipient is logged out.
organization_name: StringDisplay name of the organization for sign-in branding (“Sign in to Acme Inc to view this campaign”). Public information; the organization’s profile already exposes it elsewhere.
subject: StringCampaign subject (title). Same string the recipient already saw in their inbox; included so the deeplink interstitial can show “Acme Inc — All-hands Q3” before the auth gate.
Trait Implementations§
Source§impl Clone for GetCampaignByShortCodeResponse
impl Clone for GetCampaignByShortCodeResponse
Source§fn clone(&self) -> GetCampaignByShortCodeResponse
fn clone(&self) -> GetCampaignByShortCodeResponse
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Eq for GetCampaignByShortCodeResponse
Source§impl Message for GetCampaignByShortCodeResponse
impl Message for GetCampaignByShortCodeResponse
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for GetCampaignByShortCodeResponse
Auto Trait Implementations§
impl Freeze for GetCampaignByShortCodeResponse
impl RefUnwindSafe for GetCampaignByShortCodeResponse
impl Send for GetCampaignByShortCodeResponse
impl Sync for GetCampaignByShortCodeResponse
impl Unpin for GetCampaignByShortCodeResponse
impl UnsafeUnpin for GetCampaignByShortCodeResponse
impl UnwindSafe for GetCampaignByShortCodeResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request