pub struct GetPage {
pub path: String,
pub return_content: bool,
}Expand description
Use this method to get a Telegraph page. Returns a Page object on success.
-
path (String) Required. Path to the Telegraph page (in the format Title-12-31, i.e. everything that comes after http://telegra.ph/).
-
return_content (Boolean, default = false) If true, content field will be returned in Page object.
-
Sample request https://api.telegra.ph/getPage/Sample-Page-12-15?return_content=true
Fields§
§path: String§return_content: boolImplementations§
Auto Trait Implementations§
impl Freeze for GetPage
impl RefUnwindSafe for GetPage
impl Send for GetPage
impl Sync for GetPage
impl Unpin for GetPage
impl UnsafeUnpin for GetPage
impl UnwindSafe for GetPage
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