cookie.rs 400 B

12345678910111213141516171819202122
  1. // -*- coding: utf-8 -*-
  2. //
  3. // Simple CMS
  4. //
  5. // Copyright (C) 2011-2024 Michael Büsch <m@bues.ch>
  6. //
  7. // Licensed under the Apache License version 2.0
  8. // or the MIT license, at your option.
  9. // SPDX-License-Identifier: Apache-2.0 OR MIT
  10. pub struct Cookie {
  11. _data: Vec<u8>,
  12. }
  13. impl Cookie {
  14. pub fn new(data: Vec<u8>) -> Self {
  15. Self { _data: data }
  16. }
  17. }
  18. // vim: ts=4 sw=4 expandtab