pub struct TeamProfile {
pub client: Client,
}Fields§
§client: ClientImplementations§
Source§impl TeamProfile
impl TeamProfile
Sourcepub async fn get(
&self,
visibility: &str,
) -> Result<Response<TeamProfileGetSuccessSchema>, ClientError>
pub async fn get( &self, visibility: &str, ) -> Result<Response<TeamProfileGetSuccessSchema>, ClientError>
This function performs a GET to the /team.profile.get endpoint.
Retrieve a team’s profile.
FROM: https://api.slack.com/methods/team.profile.get
Parameters:
token: &str– Authentication token. Requires scope:users.profile:read.visibility: &str– Filter by visibility.
Auto Trait Implementations§
impl Freeze for TeamProfile
impl !RefUnwindSafe for TeamProfile
impl Send for TeamProfile
impl Sync for TeamProfile
impl Unpin for TeamProfile
impl UnsafeUnpin for TeamProfile
impl !UnwindSafe for TeamProfile
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