pub struct GovernedEncodeResult {
pub compressed_bytes: Vec<u8>,
pub codec_profile: String,
pub governance_receipt_id: String,
pub degradation_budget: f64,
}Expand description
Stub result type — codec_profile is a string when feature is disabled.
Fields§
§compressed_bytes: Vec<u8>§codec_profile: String§governance_receipt_id: String§degradation_budget: f64Trait Implementations§
Source§impl Clone for GovernedEncodeResult
impl Clone for GovernedEncodeResult
Source§fn clone(&self) -> GovernedEncodeResult
fn clone(&self) -> GovernedEncodeResult
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 GovernedEncodeResult
impl RefUnwindSafe for GovernedEncodeResult
impl Send for GovernedEncodeResult
impl Sync for GovernedEncodeResult
impl Unpin for GovernedEncodeResult
impl UnsafeUnpin for GovernedEncodeResult
impl UnwindSafe for GovernedEncodeResult
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