pub struct SetFileGenerationProgress {
pub generation_id: i64,
pub expected_size: i32,
pub local_prefix_size: i32,
}
Expand description
The next part of a file was generated
Fields§
§generation_id: i64
The identifier of the generation process
expected_size: i32
Expected size of the generated file, in bytes; 0 if unknown
local_prefix_size: i32
The number of bytes already generated
Trait Implementations§
Source§impl Clone for SetFileGenerationProgress
impl Clone for SetFileGenerationProgress
Source§fn clone(&self) -> SetFileGenerationProgress
fn clone(&self) -> SetFileGenerationProgress
Returns a copy 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 SetFileGenerationProgress
impl Debug for SetFileGenerationProgress
Source§impl<'de> Deserialize<'de> for SetFileGenerationProgress
impl<'de> Deserialize<'de> for SetFileGenerationProgress
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
Source§impl Method for SetFileGenerationProgress
impl Method for SetFileGenerationProgress
Auto Trait Implementations§
impl Freeze for SetFileGenerationProgress
impl RefUnwindSafe for SetFileGenerationProgress
impl Send for SetFileGenerationProgress
impl Sync for SetFileGenerationProgress
impl Unpin for SetFileGenerationProgress
impl UnwindSafe for SetFileGenerationProgress
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