pub struct UpdatePlanRequest {
pub code: String,
pub plan: UpdatePlanInput,
}Expand description
Request for updating a plan.
Fields§
§code: StringThe code of the plan to update.
plan: UpdatePlanInputThe plan update data.
Implementations§
Source§impl UpdatePlanRequest
impl UpdatePlanRequest
Sourcepub fn new(code: String, input: UpdatePlanInput) -> Self
pub fn new(code: String, input: UpdatePlanInput) -> Self
Creates a new update plan request.
Trait Implementations§
Source§impl Clone for UpdatePlanRequest
impl Clone for UpdatePlanRequest
Source§fn clone(&self) -> UpdatePlanRequest
fn clone(&self) -> UpdatePlanRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdatePlanRequest
impl Debug for UpdatePlanRequest
Auto Trait Implementations§
impl Freeze for UpdatePlanRequest
impl RefUnwindSafe for UpdatePlanRequest
impl Send for UpdatePlanRequest
impl Sync for UpdatePlanRequest
impl Unpin for UpdatePlanRequest
impl UnwindSafe for UpdatePlanRequest
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