pub struct NewsLetterIntegrationsResource<'a> { /* private fields */ }Expand description
client.news_letter_integrations()
Implementations§
Source§impl<'a> NewsLetterIntegrationsResource<'a>
impl<'a> NewsLetterIntegrationsResource<'a>
Sourcepub fn list(&self) -> Result<Vec<NewsletterIntegrationOptions>>
pub fn list(&self) -> Result<Vec<NewsletterIntegrationOptions>>
Get newsletter integration options
GET /newsletter-integrations
Lists active configured newsletter providers, their capabilities and available remote lists. Requires administer groups in churchgroup; this is not a public endpoint. Queries the providers and marks lists already mapped to any group with isAssigned, including groups outside the caller’s individual visibility. Assigned lists are not removed from the result. A caught provider exception is logged and represented as an empty lists array, with HTTP 200 and no per-provider error field. No providers yields data: [] and meta.count: 0. Results follow provider registration order and are not paginated.
§Example
for news_letter_integration in client.news_letter_integrations().list()? {
println!("{}", news_letter_integration.can_create_lists);
}Trait Implementations§
Source§impl<'a> Clone for NewsLetterIntegrationsResource<'a>
impl<'a> Clone for NewsLetterIntegrationsResource<'a>
impl<'a> Copy for NewsLetterIntegrationsResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for NewsLetterIntegrationsResource<'a>
impl<'a> !UnwindSafe for NewsLetterIntegrationsResource<'a>
impl<'a> Forget for NewsLetterIntegrationsResource<'a>
impl<'a> Freeze for NewsLetterIntegrationsResource<'a>
impl<'a> Move for NewsLetterIntegrationsResource<'a>
impl<'a> Send for NewsLetterIntegrationsResource<'a>
impl<'a> Sync for NewsLetterIntegrationsResource<'a>
impl<'a> Unpin for NewsLetterIntegrationsResource<'a>
impl<'a> UnsafeUnpin for NewsLetterIntegrationsResource<'a>
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