pub struct Claim {
file: PathBuf,
text: String,
}Expand description
This app’s claim on its folder: the port and token another geop app
of the folder raises it with (POST /api/raise). Readable by the user
alone, since the token opens the folder’s files; given up when the app
ends (Claim::release).
Fields§
§file: PathBuf§text: StringImplementations§
Auto Trait Implementations§
impl Freeze for Claim
impl RefUnwindSafe for Claim
impl Send for Claim
impl Sync for Claim
impl Unpin for Claim
impl UnsafeUnpin for Claim
impl UnwindSafe for Claim
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