pub struct Exposed {
pub node: NodeRef,
pub filename: Option<String>,
pub enabled: bool,
}Expand description
A file published under a token.
Fields§
§node: NodeRefThe node the token resolves to.
filename: Option<String>The filename to advertise, when it should differ from the node’s own name.
enabled: boolWhether the link currently resolves.
Kept rather than deleted so a link can be switched off and on again without minting a new token – and so the view can answer a disabled link the same way it answers an unknown one.
Trait Implementations§
impl Eq for Exposed
impl StructuralPartialEq for Exposed
Auto Trait Implementations§
impl Freeze for Exposed
impl RefUnwindSafe for Exposed
impl Send for Exposed
impl Sync for Exposed
impl Unpin for Exposed
impl UnsafeUnpin for Exposed
impl UnwindSafe for Exposed
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