pub struct Content {
pub content_type: ContentType,
pub url: Mutex<Option<String>>,
pub id: Id,
pub ident: &'static str,
pub content: &'static str,
pub references: Option<&'static [(Reference, Option<&'static str>, Id)]>,
pub is_loaded: AtomicBool,
}
Fields§
§content_type: ContentType
§url: Mutex<Option<String>>
§id: Id
§ident: &'static str
§content: &'static str
§references: Option<&'static [(Reference, Option<&'static str>, Id)]>
§is_loaded: AtomicBool
Implementations§
Auto Trait Implementations§
impl !Freeze for Content
impl RefUnwindSafe for Content
impl Send for Content
impl Sync for Content
impl Unpin for Content
impl UnwindSafe for Content
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