[−][src]Struct octocrab::teams::EditTeamBuilder
Implementations
impl<'octo, 'r> EditTeamBuilder<'octo, 'r>
[src]
pub fn description(self, description: impl Into<String>) -> Self
[src]
The description of the team.
pub fn privacy(self, privacy: impl Into<Privacy>) -> Self
[src]
The level of privacy this team should have.
For parents or child teams, only Privacy::Closed
is valid.
pub fn parent_team_id(self, parent_team_id: impl Into<u64>) -> Self
[src]
The ID of the team to set as the parent team.
pub async fn send(self) -> Result<Team>
[src]
Sends the actual request.
Trait Implementations
impl<'octo, 'r> Serialize for EditTeamBuilder<'octo, 'r>
[src]
Auto Trait Implementations
impl<'octo, 'r> !RefUnwindSafe for EditTeamBuilder<'octo, 'r>
[src]
impl<'octo, 'r> Send for EditTeamBuilder<'octo, 'r>
[src]
impl<'octo, 'r> Sync for EditTeamBuilder<'octo, 'r>
[src]
impl<'octo, 'r> Unpin for EditTeamBuilder<'octo, 'r> where
'octo: 'r,
[src]
'octo: 'r,
impl<'octo, 'r> !UnwindSafe for EditTeamBuilder<'octo, 'r>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,