pub struct CreateOneProject {
pub name: String,
pub org_id: String,
}
Fields§
§name: String
§org_id: String
Trait Implementations§
Source§impl Debug for CreateOneProject
impl Debug for CreateOneProject
Source§impl Endpoint for CreateOneProject
impl Endpoint for CreateOneProject
type Data = Project
type Error = Error
fn method() -> Method
fn path(&self) -> Cow<'static, str>
fn body(&self) -> Result<Option<Vec<u8>>, Self::Error>
fn get_data<'async_trait>(
res: Response,
) -> Pin<Box<dyn Future<Output = Result<Self::Data, Self::Error>> + Send + 'async_trait>>where
Self: 'async_trait,
Auto Trait Implementations§
impl Freeze for CreateOneProject
impl RefUnwindSafe for CreateOneProject
impl Send for CreateOneProject
impl Sync for CreateOneProject
impl Unpin for CreateOneProject
impl UnwindSafe for CreateOneProject
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