pub struct AttachmentResolution {
pub version: u32,
pub target: AttachmentReference,
pub observation: Observation,
}Fields§
§version: u32§target: AttachmentReference§observation: ObservationImplementations§
Source§impl AttachmentResolution
impl AttachmentResolution
pub fn validate_for(&self, requested: &AttachmentReference) -> Result<()>
Trait Implementations§
Source§impl Clone for AttachmentResolution
impl Clone for AttachmentResolution
Source§impl Debug for AttachmentResolution
impl Debug for AttachmentResolution
Source§impl<'de> Deserialize<'de> for AttachmentResolution
impl<'de> Deserialize<'de> for AttachmentResolution
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
impl Eq for AttachmentResolution
Source§impl PartialEq for AttachmentResolution
impl PartialEq for AttachmentResolution
Source§impl Serialize for AttachmentResolution
impl Serialize for AttachmentResolution
impl StructuralPartialEq for AttachmentResolution
Auto Trait Implementations§
impl Forget for AttachmentResolution
impl Freeze for AttachmentResolution
impl Move for AttachmentResolution
impl RefUnwindSafe for AttachmentResolution
impl Send for AttachmentResolution
impl Sync for AttachmentResolution
impl Unpin for AttachmentResolution
impl UnsafeUnpin for AttachmentResolution
impl UnwindSafe for AttachmentResolution
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