pub struct CreatePatchNoteParams {
pub target: String,
pub category: String,
pub title: String,
pub body: String,
pub author_id: Option<String>,
pub images: Option<Vec<PathBuf>>,
}Expand description
struct for passing parameters to the method create_patch_note
Fields§
§target: StringThe target of the patch note.
category: StringThe category of the patch note.
title: StringThe title of the patch note.
body: StringThe body text of the patch note.
The unique identifier of the player.
images: Option<Vec<PathBuf>>JPEG, PNG, GIF, or WebP image files to attach to the patch note.
Trait Implementations§
Source§impl Clone for CreatePatchNoteParams
impl Clone for CreatePatchNoteParams
Source§fn clone(&self) -> CreatePatchNoteParams
fn clone(&self) -> CreatePatchNoteParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CreatePatchNoteParams
impl RefUnwindSafe for CreatePatchNoteParams
impl Send for CreatePatchNoteParams
impl Sync for CreatePatchNoteParams
impl Unpin for CreatePatchNoteParams
impl UnsafeUnpin for CreatePatchNoteParams
impl UnwindSafe for CreatePatchNoteParams
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