pub struct Service<T>{ /* private fields */ }Available on crate feature
namespace-appbsky only.Implementations§
Source§impl<T> Service<T>
impl<T> Service<T>
Sourcepub async fn dismiss_match(&self, input: Input) -> Result<Output, Error>
pub async fn dismiss_match(&self, input: Input) -> Result<Output, Error>
Removes a match that was found via contact import. It shouldn’t appear again if the same contact is re-imported. Requires authentication.
Sourcepub async fn get_matches(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_matches(&self, params: Parameters) -> Result<Output, Error>
Returns the matched contacts (contacts that were mutually imported). Excludes dismissed matches. Requires authentication.
Sourcepub async fn get_sync_status(&self, params: Parameters) -> Result<Output, Error>
pub async fn get_sync_status(&self, params: Parameters) -> Result<Output, Error>
Gets the user’s current contact import status. Requires authentication.
Sourcepub async fn import_contacts(&self, input: Input) -> Result<Output, Error>
pub async fn import_contacts(&self, input: Input) -> Result<Output, Error>
Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.
Sourcepub async fn remove_data(&self, input: Input) -> Result<Output, Error>
pub async fn remove_data(&self, input: Input) -> Result<Output, Error>
Removes all stored hashes used for contact matching, existing matches, and sync status. Requires authentication.
Sourcepub async fn send_notification(&self, input: Input) -> Result<Output, Error>
pub async fn send_notification(&self, input: Input) -> Result<Output, Error>
System endpoint to send notifications related to contact imports. Requires role authentication.
Auto Trait Implementations§
impl<T> Freeze for Service<T>
impl<T> RefUnwindSafe for Service<T>
impl<T> Send for Service<T>
impl<T> Sync for Service<T>
impl<T> Unpin for Service<T>
impl<T> UnsafeUnpin for Service<T>
impl<T> UnwindSafe for Service<T>
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