pub struct HashedUri {
pub url: String,
pub hash: Vec<u8>,
pub alg: Option<String>,
}Expand description
Hashed URI reference per §8.4.2 and §15.10.3. The hash is binary (CBOR bstr), computed over the JUMBF superbox contents (description + content boxes, excluding the 8-byte superbox header) per §8.4.2.3.
Fields§
§url: String§hash: Vec<u8>§alg: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for HashedUri
impl<'de> Deserialize<'de> for HashedUri
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
Auto Trait Implementations§
impl Freeze for HashedUri
impl RefUnwindSafe for HashedUri
impl Send for HashedUri
impl Sync for HashedUri
impl Unpin for HashedUri
impl UnsafeUnpin for HashedUri
impl UnwindSafe for HashedUri
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