pub struct DiscoveredContentTree {
pub publication: DiscoveredPublication,
pub posts: Vec<DiscoveredPost>,
pub assets: Vec<DiscoveredAsset>,
pub total_bytes: u64,
}Fields§
§publication: DiscoveredPublication§posts: Vec<DiscoveredPost>§assets: Vec<DiscoveredAsset>§total_bytes: u64Implementations§
Source§impl DiscoveredContentTree
impl DiscoveredContentTree
pub fn validate(&self) -> Result<ValidatedContent, ContentValidationErrors>
Source§impl DiscoveredContentTree
impl DiscoveredContentTree
Sourcepub fn digest(&self) -> ContentTreeDigest
pub fn digest(&self) -> ContentTreeDigest
Computes a deterministic token for the exact managed tree already in memory.
Trait Implementations§
Source§impl Clone for DiscoveredContentTree
impl Clone for DiscoveredContentTree
Source§impl Debug for DiscoveredContentTree
impl Debug for DiscoveredContentTree
impl Eq for DiscoveredContentTree
Source§impl PartialEq for DiscoveredContentTree
impl PartialEq for DiscoveredContentTree
impl StructuralPartialEq for DiscoveredContentTree
Auto Trait Implementations§
impl Freeze for DiscoveredContentTree
impl RefUnwindSafe for DiscoveredContentTree
impl Send for DiscoveredContentTree
impl Sync for DiscoveredContentTree
impl Unpin for DiscoveredContentTree
impl UnsafeUnpin for DiscoveredContentTree
impl UnwindSafe for DiscoveredContentTree
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