pub struct NewService {
pub name: String,
pub role: Role,
}Expand description
POST /api/v1/members/service: create a service account.
Fields§
§name: String§role: RoleTrait Implementations§
Source§impl Clone for NewService
impl Clone for NewService
Source§impl Debug for NewService
impl Debug for NewService
Source§impl<'de> Deserialize<'de> for NewService
impl<'de> Deserialize<'de> for NewService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for NewService
impl Freeze for NewService
impl Move for NewService
impl RefUnwindSafe for NewService
impl Send for NewService
impl Sync for NewService
impl Unpin for NewService
impl UnsafeUnpin for NewService
impl UnwindSafe for NewService
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